1 | --- Portfile.orig 2007-08-23 13:29:58.000000000 +0100 |
---|
2 | +++ Portfile 2007-08-23 17:49:24.000000000 +0100 |
---|
3 | @@ -2,7 +2,7 @@ |
---|
4 | |
---|
5 | PortSystem 1.0 |
---|
6 | name pfe |
---|
7 | -version 0.32.91 |
---|
8 | +version 0.33.62 |
---|
9 | categories lang |
---|
10 | maintainers nomaintainer@macports.org |
---|
11 | platforms darwin |
---|
12 | @@ -11,17 +11,26 @@ |
---|
13 | |
---|
14 | homepage http://pfe.sourceforge.net/ |
---|
15 | master_sites sourceforge |
---|
16 | -checksums md5 8692440b7ae932c2551958b0e8be180c |
---|
17 | +extract.suffix .tar.bz2 |
---|
18 | +use_bzip2 yes |
---|
19 | +checksums md5 d7fe180db4534413cf00a5194a485792 |
---|
20 | +configure.args --with-sbr-static --without-testmodule |
---|
21 | +build.env MACOSX_DEPLOYMENT_TARGET=10.3 |
---|
22 | |
---|
23 | post-configure { |
---|
24 | global reldir |
---|
25 | - set reldir [exec sh $worksrcpath/config.guess] |
---|
26 | - system "cp /usr/bin/glibtool ${worksrcpath}/Release/${reldir}/pfe/libtool" |
---|
27 | + set reldir [string map {" " "_" "/" "_"} [exec uname -srm].d] |
---|
28 | + xinstall -m 755 /usr/bin/glibtool ${worksrcpath}/${reldir}/pfe/libtool |
---|
29 | } |
---|
30 | |
---|
31 | destroot { |
---|
32 | global reldir |
---|
33 | - system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin" |
---|
34 | - system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/*.dylib ${destroot}${prefix}/lib" |
---|
35 | - system "cp ${worksrcpath}/Release/${reldir}/pfe/pfe.1 ${destroot}${prefix}/share/man/man1" |
---|
36 | + xinstall -m 755 ${worksrcpath}/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin |
---|
37 | + eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.dylib] ${destroot}${prefix}/lib |
---|
38 | + xinstall -m 755 -d ${destroot}${prefix}/lib/pfe-fastest |
---|
39 | + eval xinstall -m 644 [glob ${worksrcpath}/${reldir}/pfe/.libs/*.so] ${destroot}${prefix}/lib/pfe-fastest |
---|
40 | + xinstall -m 644 ${worksrcpath}/doc/pfe.1 ${destroot}${prefix}/share/man/man1 |
---|
41 | + xinstall -m 755 -d ${destroot}${prefix}/share/pfe |
---|
42 | + eval xinstall -m 644 [glob ${worksrcpath}/lib/*.4th] ${destroot}${prefix}/share/pfe |
---|
43 | + xinstall -m 644 ${worksrcpath}/lib/easy4th.f ${destroot}${prefix}/share/pfe |
---|
44 | } |
---|