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

Last change on this file was 115898, checked in by jmr@…, 4 years ago

gcs-java: license, noarch

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