source: trunk/dports/games/gcs-java/Portfile @ 112401

Last change on this file since 112401 was 112401, checked in by ryandesign@…, 7 years ago

gcs-java: fetch from git repository because the svn repository is no longer online

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 112401 2013-10-22 09:24:02Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                gcs-java
6version             2011.01.02.1054
7revision            1
8categories          games
9platforms           darwin
10maintainers         nomaintainer
11homepage            http://gurpscharactersheet.com
12master_sites        sourceforge:gcs-java
13fetch.type          git
14git.url             git://git.code.sf.net/p/gcs-java/git
15git.branch          6c8ec2a0c149fa57eee4784d023a2107b32f6395
16
17description         GURPS Character Sheet
18long_description \
19    GURPS Character Sheet (GCS) is a stand-alone, interactive, character sheet \
20    editor that allows you to build characters for Steve Jackson Games' GURPS \
21    4th Edition roleplaying game system.
22
23depends_lib         port:ttk port:trove4j port:itext
24depends_build       bin:ant:apache-ant
25
26use_configure       no
27build.cmd           ant
28build.target        dist
29
30pre-build {
31    reinplace "s|\.\./ttk/TrollworksToolkit.jar|${prefix}/share/java/TrollworksToolkit.jar|" ${worksrcpath}/build.xml
32    reinplace "s|\.\./ttk/libraries/Trove.jar|${prefix}/share/java/trove.jar|" ${worksrcpath}/build.xml
33    reinplace "s|libraries/iText.jar|${prefix}/share/java/iText.jar|" ${worksrcpath}/build.xml
34    reinplace "s|\.\./ttk/libraries/AppleJavaExtensions.jar|/Developer/Library/Xcode/Organizer Templates/Java Templates/Java Application/lib/AppleJavaExtensions.jar|" ${worksrcpath}/build.xml
35    reinplace "s|match=\'\(APP_VERSION\.\+=\)\(\.\*\)\' replace=\'\\\\1 \$\{VERSION\}\'|match='(APP_VERSION.+=)(.*)' replace='\\\\1 ${version}'|" ${worksrcpath}/build.xml
36}
37
38destroot {
39    copy ${worksrcpath}/gcs_build/GCS-${version} ${destroot}${applications_dir}
40}
Note: See TracBrowser for help on using the repository browser.