[74889] trunk/dports/games/gcs-java/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Wed Jan 5 16:15:23 PST 2011


Revision: 74889
          http://trac.macports.org/changeset/74889
Author:   singingwolfboy at macports.org
Date:     2011-01-05 16:15:15 -0800 (Wed, 05 Jan 2011)
Log Message:
-----------
Updated gcs-java port

Modified Paths:
--------------
    trunk/dports/games/gcs-java/Portfile

Modified: trunk/dports/games/gcs-java/Portfile
===================================================================
--- trunk/dports/games/gcs-java/Portfile	2011-01-06 00:14:57 UTC (rev 74888)
+++ trunk/dports/games/gcs-java/Portfile	2011-01-06 00:15:15 UTC (rev 74889)
@@ -3,16 +3,15 @@
 PortSystem          1.0
 
 name                gcs-java
-version             2010.01.06
+version             2011.01.02.1054
 categories          games
 platforms           darwin
 maintainers         singingwolfboy openmaintainer
 homepage            http://gurpscharactersheet.com
 master_sites        sourceforge:gcs-java
 fetch.type          svn
-svn.url             http://gcs-java.svn.sourceforge.net/svnroot/gcs-java/trunk
-svn.revision        508
-worksrcdir          trunk
+worksrcdir          release-${version}
+svn.url             http://gcs-java.svn.sourceforge.net/svnroot/gcs-java/tags/${worksrcdir}
 
 description         GURPS Character Sheet
 long_description \
@@ -28,9 +27,10 @@
 build.target        dist
 
 pre-build {
-    reinplace "s|../ttk/TrollworksToolkit.jar|${prefix}/share/java/ttk/TrollworksToolkit.jar|" ${worksrcpath}/build.xml
-    reinplace "s|../ttk/libraries/Trove.jar|${prefix}/share/java/trove4j/trove.jar|" ${worksrcpath}/build.xml
-    reinplace "s|../ttk/libraries/AppleJavaExtensions.jar|/Developer/Library/Xcode/Organizer Templates/Java Templates/Java Application/lib/AppleJavaExtensions.jar|" ${worksrcpath}/build.xml
+    reinplace "s|\.\./ttk/TrollworksToolkit.jar|${prefix}/share/java/ttk/TrollworksToolkit.jar|" ${worksrcpath}/build.xml
+    reinplace "s|\.\./ttk/libraries/Trove.jar|${prefix}/share/java/trove4j/trove.jar|" ${worksrcpath}/build.xml
+    reinplace "s|\.\./ttk/libraries/AppleJavaExtensions.jar|/Developer/Library/Xcode/Organizer Templates/Java Templates/Java Application/lib/AppleJavaExtensions.jar|" ${worksrcpath}/build.xml
+    reinplace "s|match=\'\(APP_VERSION\.\+=\)\(\.\*\)\' replace=\'\\\\1 \$\{VERSION\}\'|match='(APP_VERSION.+=)(.*)' replace='\\\\1 ${version}'|" ${worksrcpath}/build.xml
 }
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110105/9753d595/attachment.html>


More information about the macports-changes mailing list