aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2008-08-11 10:37:23 +0800
committeralepulver <alepulver@FreeBSD.org>2008-08-11 10:37:23 +0800
commit8d3762517870d690b7bcc3098b207897e9c0b1b9 (patch)
tree9e926b5d7c84ce968c627f51a85f90478022844b /games
parentac67660ffdfbb4d3adc1dc729740266c1d0983a4 (diff)
downloadfreebsd-ports-gnome-8d3762517870d690b7bcc3098b207897e9c0b1b9.tar.gz
freebsd-ports-gnome-8d3762517870d690b7bcc3098b207897e9c0b1b9.tar.zst
freebsd-ports-gnome-8d3762517870d690b7bcc3098b207897e9c0b1b9.zip
- Avoid creating an empty %%DOCSDIR%% when not installing docs (NOPORTDOCS).
Reported by: QA Tindy
Diffstat (limited to 'games')
-rw-r--r--games/warzone2100/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index 84a173df5047..328c60727a50 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -38,7 +38,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
post-patch:
@${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure
.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -Ee 's|^(dist_doc_DATA =) .*|\1|' \
+ @${REINPLACE_CMD} -Ee 's|^install-dist_docDATA$$||' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|^install: install-am|install:|' \
${WRKSRC}/doc/Makefile.in