# $Id$ PortSystem 1.0 name gcs-java version 2011.01.02.1054 revision 1 categories games platforms darwin maintainers nomaintainer homepage http://gurpscharactersheet.com master_sites sourceforge:gcs-java fetch.type git git.url git://git.code.sf.net/p/gcs-java/git git.branch 6c8ec2a0c149fa57eee4784d023a2107b32f6395 description GURPS Character Sheet long_description \ GURPS Character Sheet (GCS) is a stand-alone, interactive, character sheet \ editor that allows you to build characters for Steve Jackson Games' GURPS \ 4th Edition roleplaying game system. depends_lib port:ttk port:trove4j port:itext depends_build bin:ant:apache-ant use_configure no build.cmd ant build.target dist pre-build { reinplace "s|\.\./ttk/TrollworksToolkit.jar|${prefix}/share/java/TrollworksToolkit.jar|" ${worksrcpath}/build.xml reinplace "s|\.\./ttk/libraries/Trove.jar|${prefix}/share/java/trove.jar|" ${worksrcpath}/build.xml reinplace "s|libraries/iText.jar|${prefix}/share/java/iText.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 { copy ${worksrcpath}/gcs_build/GCS-${version} ${destroot}${applications_dir} }