[28276] trunk/dports/lang/pfe/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 27 02:15:47 PDT 2007
Revision: 28276
http://trac.macosforge.org/projects/macports/changeset/28276
Author: ryandesign at macports.org
Date: 2007-08-27 02:15:45 -0700 (Mon, 27 Aug 2007)
Log Message:
-----------
pfe:
* upgrade to 0.33.62
* declare the dependency on ncurses
* fix build problem on Intel
* make "port lint" happy
Modified Paths:
--------------
trunk/dports/lang/pfe/Portfile
Modified: trunk/dports/lang/pfe/Portfile
===================================================================
--- trunk/dports/lang/pfe/Portfile 2007-08-27 08:33:18 UTC (rev 28275)
+++ trunk/dports/lang/pfe/Portfile 2007-08-27 09:15:45 UTC (rev 28276)
@@ -1,8 +1,9 @@
# $Id$
PortSystem 1.0
+
name pfe
-version 0.32.91
+version 0.33.62
categories lang
maintainers nomaintainer at macports.org
platforms darwin
@@ -11,17 +12,35 @@
homepage http://pfe.sourceforge.net/
master_sites sourceforge
-checksums md5 8692440b7ae932c2551958b0e8be180c
+use_bzip2 yes
+checksums md5 d7fe180db4534413cf00a5194a485792
+configure.args --with-sbr-static --without-testmodule
+build.env MACOSX_DEPLOYMENT_TARGET=10.3
+depends_lib port:ncurses
+
post-configure {
global reldir
- set reldir [exec sh $worksrcpath/config.guess]
- system "cp /usr/bin/glibtool ${worksrcpath}/Release/${reldir}/pfe/libtool"
+ set reldir [string map {" " "_" "/" "_"} [exec uname -srm].d]
+ xinstall -m 755 /usr/bin/glibtool ${worksrcpath}/${reldir}/pfe/libtool
}
destroot {
global reldir
- system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin"
- system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/*.dylib ${destroot}${prefix}/lib"
- system "cp ${worksrcpath}/Release/${reldir}/pfe/pfe.1 ${destroot}${prefix}/share/man/man1"
+ xinstall -m 755 ${worksrcpath}/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin
+ eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.dylib] ${destroot}${prefix}/lib
+ xinstall -m 755 -d ${destroot}${prefix}/lib/pfe-fastest
+ eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.so] ${destroot}${prefix}/lib/pfe-fastest
+ xinstall -m 644 ${worksrcpath}/doc/pfe.1 ${destroot}${prefix}/share/man/man1
+ xinstall -m 755 -d ${destroot}${prefix}/share/pfe
+ eval xinstall -m 644 [glob ${worksrcpath}/lib/*.4th] ${destroot}${prefix}/share/pfe
+ xinstall -m 644 ${worksrcpath}/lib/easy4th.f ${destroot}${prefix}/share/pfe
}
+
+# Fix gcc Intel bug, apparently. See:
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11001
+# And:
+# http://factor-language.blogspot.com/2007/08/gcc-is-open-sores-software.html
+platform i386 {
+ configure.cflags-append -fno-builtin-strlen -fno-builtin-strcat
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070827/f23c6686/attachment.html
More information about the macports-changes
mailing list