Changeset 28276 for trunk/dports
- Timestamp:
- Aug 27, 2007, 9:15:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/pfe/Portfile
r20413 r28276 2 2 3 3 PortSystem 1.0 4 4 5 name pfe 5 version 0.3 2.916 version 0.33.62 6 7 categories lang 7 8 maintainers nomaintainer@macports.org … … 12 13 homepage http://pfe.sourceforge.net/ 13 14 master_sites sourceforge 14 checksums md5 8692440b7ae932c2551958b0e8be180c 15 use_bzip2 yes 16 checksums md5 d7fe180db4534413cf00a5194a485792 17 configure.args --with-sbr-static --without-testmodule 18 build.env MACOSX_DEPLOYMENT_TARGET=10.3 19 20 depends_lib port:ncurses 15 21 16 22 post-configure { 17 23 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 20 26 } 21 27 22 28 destroot { 23 29 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 27 38 } 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 44 platform i386 { 45 configure.cflags-append -fno-builtin-strlen -fno-builtin-strcat 46 }
Note: See TracChangeset
for help on using the changeset viewer.