aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2008-08-13 07:43:09 +0800
committeralepulver <alepulver@FreeBSD.org>2008-08-13 07:43:09 +0800
commitbf5d6f969cf540cecf9335f770890167e58a2751 (patch)
tree2960290f8e54e0dbf0732519dfb3539cad6a219d /games
parent64f4c113266f35886f835c8f6dde6a0b777933e2 (diff)
downloadfreebsd-ports-graphics-bf5d6f969cf540cecf9335f770890167e58a2751.tar.gz
freebsd-ports-graphics-bf5d6f969cf540cecf9335f770890167e58a2751.tar.zst
freebsd-ports-graphics-bf5d6f969cf540cecf9335f770890167e58a2751.zip
- Never install unneeded docs, and fix with NOPORTDOCS.
Reported by: QA Tindy
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 328c60727a5..b682f7cc16f 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>