[45650] trunk/dports/aqua/aquaterm/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Mon Jan 19 06:10:47 PST 2009
Revision: 45650
http://trac.macports.org/changeset/45650
Author: mcalhoun at macports.org
Date: 2009-01-19 06:10:47 -0800 (Mon, 19 Jan 2009)
Log Message:
-----------
aquaterm: Install adapters (removed in r42428).
Partial fix of #17991.
Modified Paths:
--------------
trunk/dports/aqua/aquaterm/Portfile
Modified: trunk/dports/aqua/aquaterm/Portfile
===================================================================
--- trunk/dports/aqua/aquaterm/Portfile 2009-01-19 14:02:10 UTC (rev 45649)
+++ trunk/dports/aqua/aquaterm/Portfile 2009-01-19 14:10:47 UTC (rev 45650)
@@ -5,7 +5,7 @@
name aquaterm
version 1.0.1
-revision 3
+revision 4
categories aqua math science
maintainers mcalhoun openmaintainer
description AquaTerm is a viewer that displays vector graphics on Mac OS X
@@ -37,6 +37,22 @@
xcode.destroot.settings USER_APPS_DIR=${applications_dir} \
FRAMEWORKS_DIR=${frameworks_dir}
+post-patch {
+ reinplace "s|/usr/local|${prefix}|g" \
+ ${workpath}/adapters/pgplot/ChangeLog \
+ ${workpath}/adapters/pgplot/g77_gcc_AQT.conf \
+ ${workpath}/adapters/pgplot/xlf_gcc_AQT.conf
+ reinplace "s|\$(HOME)|${prefix}|g" \
+ ${workpath}/adapters/c/Makefile \
+ ${workpath}/adapters/fortran/Makefile
+ reinplace "s|/*<PREFIX>|${prefix}|g" \
+ ${workpath}/adapters/pgplot/g77_cc_AQT.conf \
+ ${workpath}/adapters/pgplot/g77_gcc_AQT.conf \
+ ${workpath}/adapters/pgplot/xlf_gcc_AQT.conf
+ reinplace "s|/sw|${prefix}|g" \
+ ${workpath}/adapters/pgplot/ReadMe
+}
+
post-destroot {
set fdir ${frameworks_dir}/AquaTerm.framework/Versions/A
xinstall -d -m 755 ${destroot}${prefix}/include/aquaterm
@@ -45,6 +61,9 @@
}
ln -s ${fdir}/AquaTerm ${destroot}${prefix}/lib/libaquaterm.dylib
ln -s ${fdir}/AquaTerm ${destroot}${prefix}/lib/libaquaterm.${version}.dylib
+
+ xinstall -d -m 0755 ${destroot}${prefix}/share/${name}
+ copy ${workpath}/adapters ${destroot}${prefix}/share/${name}
}
livecheck.regex "<title>AquaTerm v(\\d+(?:\\.\\d+)*) released.*</title>"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090119/fbe0db5a/attachment.html>
More information about the macports-changes
mailing list