Changeset 28276


Ignore:
Timestamp:
Aug 27, 2007, 9:15:45 AM (13 years ago)
Author:
ryandesign@…
Message:

pfe:

  • upgrade to 0.33.62
  • declare the dependency on ncurses
  • fix build problem on Intel
  • make "port lint" happy
File:
1 edited

Legend:

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

    r20413 r28276  
    22
    33PortSystem 1.0
     4
    45name            pfe
    5 version         0.32.91
     6version         0.33.62
    67categories      lang
    78maintainers     nomaintainer@macports.org
     
    1213homepage        http://pfe.sourceforge.net/
    1314master_sites    sourceforge
    14 checksums       md5 8692440b7ae932c2551958b0e8be180c
     15use_bzip2       yes
     16checksums       md5 d7fe180db4534413cf00a5194a485792
     17configure.args  --with-sbr-static --without-testmodule
     18build.env       MACOSX_DEPLOYMENT_TARGET=10.3
     19
     20depends_lib     port:ncurses
    1521
    1622post-configure {
    1723        global reldir
    18         set reldir [exec sh $worksrcpath/config.guess]
    19         system "cp /usr/bin/glibtool ${worksrcpath}/Release/${reldir}/pfe/libtool"
     24        set reldir [string map {" " "_" "/" "_"} [exec uname -srm].d]
     25        xinstall -m 755 /usr/bin/glibtool ${worksrcpath}/${reldir}/pfe/libtool
    2026}
    2127
    2228destroot {
    2329        global reldir
    24         system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin"
    25         system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/*.dylib ${destroot}${prefix}/lib"
    26         system "cp ${worksrcpath}/Release/${reldir}/pfe/pfe.1 ${destroot}${prefix}/share/man/man1"
     30        xinstall -m 755 ${worksrcpath}/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin
     31        eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.dylib] ${destroot}${prefix}/lib
     32        xinstall -m 755 -d ${destroot}${prefix}/lib/pfe-fastest
     33        eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.so] ${destroot}${prefix}/lib/pfe-fastest
     34        xinstall -m 644 ${worksrcpath}/doc/pfe.1 ${destroot}${prefix}/share/man/man1
     35        xinstall -m 755 -d ${destroot}${prefix}/share/pfe
     36        eval xinstall -m 644 [glob ${worksrcpath}/lib/*.4th] ${destroot}${prefix}/share/pfe
     37        xinstall -m 644 ${worksrcpath}/lib/easy4th.f ${destroot}${prefix}/share/pfe
    2738}
     39
     40# Fix gcc Intel bug, apparently. See:
     41# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11001
     42# And:
     43# http://factor-language.blogspot.com/2007/08/gcc-is-open-sores-software.html
     44platform i386 {
     45        configure.cflags-append -fno-builtin-strlen -fno-builtin-strcat
     46}
Note: See TracChangeset for help on using the changeset viewer.