diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2012-03-05 22:32:25 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2012-03-05 22:32:25 +0800 |
commit | 9f03404447059fdf22056662c258885cac91f9d9 (patch) | |
tree | f72d49a9df66f18c2b3ae3fba3564fc1f6b78558 /games | |
parent | 6e11cb5a8db95195b90bac5d3c3760e35336f352 (diff) | |
download | freebsd-ports-gnome-9f03404447059fdf22056662c258885cac91f9d9.tar.gz freebsd-ports-gnome-9f03404447059fdf22056662c258885cac91f9d9.tar.zst freebsd-ports-gnome-9f03404447059fdf22056662c258885cac91f9d9.zip |
- Ignore version 0.5 in portscout
- Improve wrapper script
Diffstat (limited to 'games')
-rw-r--r-- | games/jvgs/Makefile | 4 | ||||
-rw-r--r-- | games/jvgs/files/jvgs.in | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile index b4faf59d0a8d..af04f474ea04 100644 --- a/games/jvgs/Makefile +++ b/games/jvgs/Makefile @@ -7,7 +7,7 @@ PORTNAME= jvgs PORTVERSION= 0.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -30,6 +30,8 @@ NO_CDROM= contains data under CC-by-NC-SA PORTDOCS= AUTHORS +PORTDCOUT= ignore:0.5 # unplayable due to broken double jump + post-patch: @${REINPLACE_CMD} -e 's|main.lua|${DATADIR}/&|' ${WRKSRC}/src/main.cpp diff --git a/games/jvgs/files/jvgs.in b/games/jvgs/files/jvgs.in index d83ea71d03c1..bbc9a463247d 100644 --- a/games/jvgs/files/jvgs.in +++ b/games/jvgs/files/jvgs.in @@ -2,7 +2,8 @@ mkdir -p ~/.jvgs cd ~/.jvgs -if [ ! -e 'resources' ]; then +if [ ! -e 'resources' -o "`readlink resources`" != %%DATADIR%%/resources ]; then + rm -f resources ln -s %%DATADIR%%/resources fi exec %%PREFIX%%/libexec/jvgs |