aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2008-08-12 23:43:09 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2008-08-12 23:43:09 +0000
commit3c773d011770726ab21e7c4339198fded00c6aa7 (patch)
tree08e9eeb324a4c93b69ad802272985996cfbe507d /games
parent05e3ac2d3b903f4cf9e05697c16bdf8141ac6b90 (diff)
downloadports-3c773d011770726ab21e7c4339198fded00c6aa7.tar.gz
ports-3c773d011770726ab21e7c4339198fded00c6aa7.zip
- Never install unneeded docs, and fix with NOPORTDOCS.
Reported by: QA Tindy
Notes
Notes: svn path=/head/; revision=218478
Diffstat (limited to 'games')
-rw-r--r--games/warzone2100/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index 328c60727a50..b682f7cc16f2 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -34,17 +34,18 @@ CONFIGURE_ARGS= --program-transform-name="" --with-distributor="FreeBSD ports"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="${PTHREAD_LIBS}"
+REINPLACE_ARGS= -i ''
post-patch:
@${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \
+ ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -Ee 's|^install-dist_docDATA$$||' \
+ @${REINPLACE_CMD} -Ee 's|install-dist_docDATA$$||' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|^install: install-am|install:|' \
${WRKSRC}/doc/Makefile.in
.else
- @${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \
- ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>