aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-11-12 10:52:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-11-12 10:52:18 +0000
commitce25f9ab8c816ed8f44fb26a5a0a543cf83828ff (patch)
tree8bc1690d618dd6882e2b8d685ef8d58db8ea833e /games
parent6984815e03c034cdcb244e179ba568a12b9a20da (diff)
downloadports-ce25f9ab8c816ed8f44fb26a5a0a543cf83828ff.tar.gz
ports-ce25f9ab8c816ed8f44fb26a5a0a543cf83828ff.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/ltris/Makefile14
-rw-r--r--games/ltris/distinfo6
-rw-r--r--games/ltris/pkg-plist4
3 files changed, 13 insertions, 11 deletions
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 7a0cc7bff445..d9a2affd944a 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= ltris
-PORTVERSION= 1.0.12
-PORTREVISION= 1
+PORTVERSION= 1.0.13
PORTEPOCH= 1
CATEGORIES= games
-MASTER_SITES= SF/lgames/${PORTNAME}/1.0
+MASTER_SITES= SF/lgames/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An another tetris clone but a good one with bunch of cool features
@@ -20,6 +19,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --localstatedir=${DATADIR}
.include <bsd.port.pre.mk>
@@ -36,9 +36,9 @@ post-patch:
s|--mode=666||g' ${WRKSRC}/src/Makefile.in
post-install:
- ${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
- ${CHMOD} 2755 ${PREFIX}/bin/${PORTNAME}
- ${CHMOD} 664 ${PREFIX}/var/ltris.hscr
- ${CHOWN} root:games ${PREFIX}/var/ltris.hscr
+ @${CHMOD} 2755 ${PREFIX}/bin/${PORTNAME}
+ @${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
+ @${CHMOD} 0664 ${DATADIR}/${PORTNAME}.hscr
+ @${CHOWN} root:games ${DATADIR}/${PORTNAME}.hscr
.include <bsd.port.post.mk>
diff --git a/games/ltris/distinfo b/games/ltris/distinfo
index 9cbb1605830d..6b042871c466 100644
--- a/games/ltris/distinfo
+++ b/games/ltris/distinfo
@@ -1,3 +1,3 @@
-MD5 (ltris-1.0.12.tar.gz) = 53b00c17a05c438602a52009e65ebde2
-SHA256 (ltris-1.0.12.tar.gz) = 84c1b63ca884d68b57a836b218340d63d0ba56ac7548d8f254657bef5fddef21
-SIZE (ltris-1.0.12.tar.gz) = 825500
+MD5 (ltris-1.0.13.tar.gz) = 33e62113e0ade4c2a26a9615442defec
+SHA256 (ltris-1.0.13.tar.gz) = b7d3f93bef1efe907780896c0db3408949cf03c6f797308dbf326ed9223681ba
+SIZE (ltris-1.0.13.tar.gz) = 845739
diff --git a/games/ltris/pkg-plist b/games/ltris/pkg-plist
index 2f49ce8d643a..505071c83e23 100644
--- a/games/ltris/pkg-plist
+++ b/games/ltris/pkg-plist
@@ -1,6 +1,8 @@
bin/ltris
%%NLS%%share/locale/de/LC_MESSAGES/ltris.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/ltris.mo
%%NLS%%share/locale/pt/LC_MESSAGES/ltris.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/ltris.mo
%%NLS%%share/locale/tr/LC_MESSAGES/ltris.mo
%%DATADIR%%/figures
%%DATADIR%%/gfx/back0.bmp
@@ -20,6 +22,7 @@ bin/ltris
%%DATADIR%%/gfx/logo.bmp
%%DATADIR%%/gfx/menuback.bmp
%%DATADIR%%/gfx/quest.bmp
+%%DATADIR%%/ltris.hscr
%%DATADIR%%/sounds/click.wav
%%DATADIR%%/sounds/excellent.wav
%%DATADIR%%/sounds/explosion.wav
@@ -27,7 +30,6 @@ bin/ltris
%%DATADIR%%/sounds/motion.wav
%%DATADIR%%/sounds/nextlevel.wav
%%DATADIR%%/sounds/stop.wav
-var/ltris.hscr
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%