Changeset 89690


Ignore:
Timestamp:
Feb 6, 2012, 10:15:24 PM (7 years ago)
Author:
jmr@…
Message:

bf2c: update to 1.2.4

Location:
trunk/dports/lang/bf2c
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/bf2c/Portfile

    r86632 r89690  
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem       1.0
     4
    45name             bf2c
    5 version          1.2.3
     6version          1.2.4
    67categories       lang
     8license          BSD
    79maintainers      nomaintainer
    810description      optimizing BrainF*ck to C compiler
     
    1214    head, an input device and an output device. This program converts \
    1315    Brainf*ck source into C, while attempting to optimize.
    14 homepage         http://bf2c.sourceforge.net/
     16homepage         http://rene-ladan.nl:8080/bf2c/
    1517platforms        darwin
    16 master_sites     sourceforge:project/bf2c/bf2c/${version}
    17 checksums        md5 72cabfb53dfab3f83de7ea901dfbb411
     18master_sites     ftp://rene-ladan.nl/pub/distfiles/
     19use_bzip2        yes
     20checksums        rmd160 9a959e5d8c079d4c56d4259d53145c63bdfd0417 \
     21                 sha256 be960be733b79492cb6de2c30297abcf9de68d0200c27f1a088c1b338f9a4f10
    1822
    19 patch {
    20     reinplace s|-Werror||g ${worksrcpath}/Makefile
    21 }
     23patchfiles       Makefile.patch
    2224
    2325use_configure    no
    2426
     27build.env        CXX=${configure.cxx} \
     28                 CXXFLAGS="${configure.cxxflags} ${configure.cxx_archflags}"
     29
    2530destroot {
    26     xinstall -m 555 ${worksrcpath}/bf2c ${destroot}${prefix}/bin
     31    xinstall ${worksrcpath}/bf2c ${destroot}${prefix}/bin
    2732}
     33
     34platform darwin {
     35    if {${os.major} < 11} {
     36        patchfiles-append   strndup.patch
     37    }
     38}
Note: See TracChangeset for help on using the changeset viewer.