aboutsummaryrefslogtreecommitdiff
path: root/games/urban/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-01-22 09:43:01 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-01-22 09:43:01 +0000
commit39bca211233c3b9f9ccf97721eae6a31193d8caa (patch)
treea6162f49a28b729764704e92e1e4f3a7aa03013d /games/urban/Makefile
parentd58dc6c290af199b20cd11063562a3d3bddbcbc4 (diff)
Notes
Diffstat (limited to 'games/urban/Makefile')
-rw-r--r--games/urban/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/games/urban/Makefile b/games/urban/Makefile
index a2582a39108a..c241c927617a 100644
--- a/games/urban/Makefile
+++ b/games/urban/Makefile
@@ -7,6 +7,7 @@
PORTNAME= urban
PORTVERSION= 1.5.3
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://urban.bengburken.net/files/linux/
DIST_SUBDIR= urban
@@ -17,14 +18,12 @@ COMMENT= A bloody, violent sidescrolling shoot-em-up
LIB_DEPENDS= ggi:${PORTSDIR}/graphics/libggi \
mikmod:${PORTSDIR}/audio/libmikmod
-SCOREFILE= /var/games/urban.scores
-
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS= --with-global-highscore=${SCOREFILE}
+CONFIGURE_ARGS= --with-global-highscore=/var/games/urban.scores
OPTIONS= CHEAT_CODES "Enable cheat codes" off
@@ -35,9 +34,6 @@ CONFIGURE_ARGS+= --enable-cheat-codes
.endif
post-install:
- ${TOUCH} ${SCOREFILE}
- ${CHGRP} games ${SCOREFILE}
- ${CHMOD} g+w ${SCOREFILE}
${CHGRP} games ${PREFIX}/bin/urban
${CHMOD} g+s ${PREFIX}/bin/urban
.if !defined(NOPORTDOCS)
@@ -50,6 +46,7 @@ post-install:
${WRKSRC}/README.swe \
${DOCSDIR}
.endif
+ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>