aboutsummaryrefslogtreecommitdiff
path: root/games/afternoonstalker
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2012-06-15 09:57:10 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2012-06-15 09:57:10 +0000
commite934bb942b4755e171622c3e942d622c1f20b53d (patch)
treea5b6d201c4d1cb5ea3a1c4133efa842638b0616e /games/afternoonstalker
parent6b45d74427350b307d125a65300dd7c6429e7c20 (diff)
downloadports-e934bb942b4755e171622c3e942d622c1f20b53d.tar.gz
ports-e934bb942b4755e171622c3e942d622c1f20b53d.zip
Notes
Diffstat (limited to 'games/afternoonstalker')
-rw-r--r--games/afternoonstalker/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile
index 70194dad05b3..6d7dc34c0b70 100644
--- a/games/afternoonstalker/Makefile
+++ b/games/afternoonstalker/Makefile
@@ -7,7 +7,7 @@
PORTNAME= afternoonstalker
PORTVERSION= 1.1.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/ \
LOCAL/martymac
@@ -15,10 +15,10 @@ MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/ \
MAINTAINER= martymac@FreeBSD.org
COMMENT= A clone of the 1981 Night Stalker video game
-LIB_DEPENDS= flatzebra-0.1.2:${PORTSDIR}/devel/flatzebra
-
LICENSE= GPLv2
+LIB_DEPENDS= flatzebra:${PORTSDIR}/devel/flatzebra
+
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -27,12 +27,14 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN6= afternoonstalker.6
PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|docdir = .*|docdir = ${DOCSDIR}|' \
${WRKSRC}/Makefile.in
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e '/^install-data-am/s|install-docDATA||' \
${WRKSRC}/Makefile.in
.endif