[97071] trunk/dports/aqua/aquaterm/Portfile
g5pw at macports.org
g5pw at macports.org
Sun Aug 26 09:46:22 PDT 2012
Revision: 97071
https://trac.macports.org/changeset/97071
Author: g5pw at macports.org
Date: 2012-08-26 09:46:21 -0700 (Sun, 26 Aug 2012)
Log Message:
-----------
aqua/aquaterm:
- whitespace fix
- add modeline
Modified Paths:
--------------
trunk/dports/aqua/aquaterm/Portfile
Modified: trunk/dports/aqua/aquaterm/Portfile
===================================================================
--- trunk/dports/aqua/aquaterm/Portfile 2012-08-26 16:21:45 UTC (rev 97070)
+++ trunk/dports/aqua/aquaterm/Portfile 2012-08-26 16:46:21 UTC (rev 97071)
@@ -1,71 +1,72 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-PortGroup xcode 1.0
+PortSystem 1.0
+PortGroup xcode 1.0
-name aquaterm
-version 1.0.1
-revision 5
-categories aqua math science
-maintainers g5pw gmail.com:mojca.miklavec.lists
-license BSD
-description AquaTerm is a viewer that displays vector graphics on Mac OS X
-long_description AquaTerm is a viewer app that displays vector \
- graphics. Other apps connect to AquaTerm using a \
- simple remote object messaging protocol. By adding \
- \"adapters\" to legacy code very little coding is \
- needed to bring it to OS X.
-platforms darwin
-homepage http://aquaterm.sourceforge.net/
-master_sites sourceforge
-distname ${name}_src.${version}
+name aquaterm
+version 1.0.1
+revision 5
+categories aqua math science
+maintainers g5pw gmail.com:mojca.miklavec.lists
+license BSD
+description AquaTerm is a viewer that displays vector graphics on Mac OS X
+long_description AquaTerm is a viewer app that displays vector \
+ graphics. Other apps connect to AquaTerm using a \
+ simple remote object messaging protocol. By adding \
+ \"adapters\" to legacy code very little coding is \
+ needed to bring it to OS X.
+platforms darwin
+homepage http://aquaterm.sourceforge.net/
+master_sites sourceforge
+distname ${name}_src.${version}
-checksums md5 e9d3ecdfe770d6f09a748add9886d1a9 \
- sha1 d5770bb3a95cfae21c5c39c96171a52d9af8ae24 \
- rmd160 24410589dd8c3071b6e0d5e652b7d92933d86b5f
+checksums md5 e9d3ecdfe770d6f09a748add9886d1a9 \
+ sha1 d5770bb3a95cfae21c5c39c96171a52d9af8ae24 \
+ rmd160 24410589dd8c3071b6e0d5e652b7d92933d86b5f
-worksrcdir ${name}
+worksrcdir ${name}
# Allow xcode PortGroup to set ARCHS (for universal builds), MACOSX_DEPLOYMENT_TARGET, and SDKROOT.
# Modify INSTALL_PATH to ensure aquaterm is installed into FRAMEWORKS_DIR.
-patchfiles patch-project.pbxproj.diff
+patchfiles patch-project.pbxproj.diff
-xcode.target AquaTerm
+xcode.target AquaTerm
-xcode.build.settings USER_APPS_DIR=${applications_dir} \
- FRAMEWORKS_DIR=${frameworks_dir}
+xcode.build.settings USER_APPS_DIR=${applications_dir} \
+ FRAMEWORKS_DIR=${frameworks_dir}
-xcode.destroot.type mixed
+xcode.destroot.type mixed
xcode.destroot.settings USER_APPS_DIR=${applications_dir} \
- FRAMEWORKS_DIR=${frameworks_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
+ 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
- foreach header [glob -tails -directory ${destroot}${fdir}/Headers/ *] {
- ln -s ${fdir}/Headers/${header} ${destroot}${prefix}/include/aquaterm
- }
- ln -s ${fdir}/AquaTerm ${destroot}${prefix}/lib/libaquaterm.dylib
- ln -s ${fdir}/AquaTerm ${destroot}${prefix}/lib/libaquaterm.${version}.dylib
+ set fdir ${frameworks_dir}/AquaTerm.framework/Versions/A
+ xinstall -d -m 755 ${destroot}${prefix}/include/aquaterm
+ foreach header [glob -tails -directory ${destroot}${fdir}/Headers/ *] {
+ ln -s ${fdir}/Headers/${header} ${destroot}${prefix}/include/aquaterm
+ }
+ 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}
+ 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/20120826/561464e2/attachment-0001.html>
More information about the macports-changes
mailing list