forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gloomhaven-helper: New port. (macports#6740)
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
PortSystem 1.0 | ||
PortGroup java 1.0 | ||
|
||
java.version 1.8 | ||
java.fallback openjdk8 | ||
|
||
name gloomhaven-helper | ||
version 8.3.1 | ||
categories games | ||
platforms macosx | ||
license Restrictive | ||
maintainers eborisch | ||
|
||
description Helper application for Gloomhaven board game. | ||
long_description Gloomhaven Helper is the officially licensed companion \ | ||
application for playing the Gloomhaven board game and \ | ||
Forgotten Circles expansion, without losing the board game \ | ||
feel. It tracks initiative, monsters, and characters so you \ | ||
can focus on playing the game rather than bookkeeping. \ | ||
Playing the game becomes faster, as does setup and tear \ | ||
down. \ | ||
|
||
homepage http://esotericsoftware.com/gloomhaven-helper#Desktop | ||
master_sites http://esotericsoftware.com/files/ghh/ | ||
distname GloomhavenHelper-${version} | ||
use_zip true | ||
|
||
checksums \ | ||
rmd160 fa1660dd363ba19e2403adacaa0269e4765d1602 \ | ||
sha256 c937fa37bdbe72e65c780aefb9c3de741a16140f26b701c2d8a192bd8196dcce \ | ||
size 32712586 | ||
|
||
use_configure no | ||
|
||
build { | ||
reinplace "s^java^cd ${prefix}/libexec/${name} ; ${java.home}/bin/java^g" run.sh | ||
} | ||
|
||
destroot { | ||
xinstall -d ${destroot}${prefix}/bin | ||
xinstall -d ${destroot}${prefix}/libexec/${name} | ||
xinstall ${worksrcpath}/ghh.jar ${destroot}${prefix}/libexec/${name}/ | ||
xinstall ${worksrcpath}/run.sh ${destroot}${prefix}/bin/${name} | ||
} | ||
|
||
livecheck.type regex | ||
livecheck.regex {Gloomhavenhelper-([\d.]+)\.zip} |