diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-09-25 19:28:00 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-09-25 19:28:00 +0000 |
commit | 045ac0468b0eaa0900fefbab201bcca309112282 (patch) | |
tree | 92fa138c6920f813de0543700dcf04f628da764b /games/afternoonstalker/Makefile | |
parent | 56c422c6286916ea47959cded659ee0ee2487be5 (diff) | |
download | ports-045ac0468b0eaa0900fefbab201bcca309112282.tar.gz ports-045ac0468b0eaa0900fefbab201bcca309112282.zip |
Notes
Diffstat (limited to 'games/afternoonstalker/Makefile')
-rw-r--r-- | games/afternoonstalker/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile index e2969b0db090..a149a4a34b6e 100644 --- a/games/afternoonstalker/Makefile +++ b/games/afternoonstalker/Makefile @@ -6,30 +6,32 @@ # PORTNAME= afternoonstalker -PORTVERSION= 1.1.1 -PORTREVISION= 5 +PORTVERSION= 1.1.2 CATEGORIES= games -MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/ +MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ganael.laplanche@martymac.com COMMENT= A clone of the 1981 Night Stalker video game -LIB_DEPENDS= gengameng.4:${PORTSDIR}/devel/gengameng \ - flatzebra-0.1.2:${PORTSDIR}/devel/flatzebra +LIB_DEPENDS= flatzebra-0.1.2:${PORTSDIR}/devel/flatzebra USE_SDL= mixer sdl GNU_CONFIGURE= yes +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAN6= afternoonstalker.6 - -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} - -CPPFLAGS= -I${LOCALBASE}/include -LDFLAGS= -L${LOCALBASE}/lib +PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO post-patch: - ${REINPLACE_CMD} "s@sounds/..PACKAGE.@afternoonstalker/sounds@g" \ + @${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) + @${REINPLACE_CMD} -e '/^install-data-am/s|install-docDATA||' \ + ${WRKSRC}/Makefile.in +.endif .include <bsd.port.mk> |