[144886] trunk/dports/lang/bf2c

jmr at macports.org jmr at macports.org
Tue Jan 19 22:18:11 PST 2016


Revision: 144886
          https://trac.macports.org/changeset/144886
Author:   jmr at macports.org
Date:     2016-01-19 22:18:10 -0800 (Tue, 19 Jan 2016)
Log Message:
-----------
bf2c: update to 1.3.1

Modified Paths:
--------------
    trunk/dports/lang/bf2c/Portfile
    trunk/dports/lang/bf2c/files/Makefile.patch

Modified: trunk/dports/lang/bf2c/Portfile
===================================================================
--- trunk/dports/lang/bf2c/Portfile	2016-01-20 06:09:25 UTC (rev 144885)
+++ trunk/dports/lang/bf2c/Portfile	2016-01-20 06:18:10 UTC (rev 144886)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem       1.0
+PortGroup        github 1.0
 
-name             bf2c
-version          1.2.4
+github.setup     rene0 bf2c 1.3.1
 categories       lang
 license          BSD
 maintainers      nomaintainer
@@ -15,21 +15,18 @@
     Brainf*ck source into C, while attempting to optimize.
 homepage         http://rene-ladan.nl/bf2c/
 platforms        darwin
-master_sites     ftp://rene-ladan.nl/pub/distfiles/
-use_bzip2        yes
-checksums        rmd160 9a959e5d8c079d4c56d4259d53145c63bdfd0417 \
-                 sha256 be960be733b79492cb6de2c30297abcf9de68d0200c27f1a088c1b338f9a4f10
+checksums        rmd160 cb8b19c11c9e420977043337393825329f229110 \
+                 sha256 7a67397874f5229b8a1dbf784c7082a90da552d08bd2d471a7febc25960b44e8
 
 patchfiles       Makefile.patch
 
 use_configure    no
 
-build.env        CXX=${configure.cxx} \
+build.env        CC=${configure.cc} CXX=${configure.cxx} \
+                 CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
                  CXXFLAGS="${configure.cxxflags} ${configure.cxx_archflags}"
 
-destroot {
-    xinstall ${worksrcpath}/bf2c ${destroot}${prefix}/bin
-}
+destroot.env     PREFIX=${prefix}
 
 platform darwin {
     if {${os.major} < 11} {

Modified: trunk/dports/lang/bf2c/files/Makefile.patch
===================================================================
--- trunk/dports/lang/bf2c/files/Makefile.patch	2016-01-20 06:09:25 UTC (rev 144885)
+++ trunk/dports/lang/bf2c/files/Makefile.patch	2016-01-20 06:18:10 UTC (rev 144886)
@@ -1,13 +1,15 @@
---- Makefile.orig	2012-01-03 08:49:41.000000000 +1100
-+++ Makefile	2012-02-07 07:48:49.000000000 +1100
-@@ -4,8 +4,8 @@
- all: bf2c
+--- Makefile.orig	2013-06-13 08:11:38.000000000 +1000
++++ Makefile	2016-01-20 17:07:32.000000000 +1100
+@@ -11,10 +11,10 @@
+ bf2c.o: $(hdr)
  
- bf2c: 
--	$(CXX) -c $(sources)
--	$(CXX) bf2c.cc -o $@ $(objects)
-+	$(CXX) $(CXXFLAGS) -c $(sources)
-+	$(CXX) $(CXXFLAGS) bf2c.cc -o $@ $(objects)
+ bf2c: $(obj)
+-	$(CXX) -o $@ $(obj)
++	$(CXX) $(CXXFLAGS) -o $@ $(obj)
  
- check:
- 	lint -aabcehirsx $(sources) bf2c.cc
+ clean:
+ 	rm bf2c gen_bf $(obj)
+ 
+ install:
+-	install bf2c gen_bf $(PREFIX)/bin
++	install bf2c gen_bf $(DESTDIR)$(PREFIX)/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160119/38fa5990/attachment.html>


More information about the macports-changes mailing list