diff options
author | alepulver <alepulver@FreeBSD.org> | 2008-08-11 10:37:23 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2008-08-11 10:37:23 +0800 |
commit | 8d3762517870d690b7bcc3098b207897e9c0b1b9 (patch) | |
tree | 9e926b5d7c84ce968c627f51a85f90478022844b /games | |
parent | ac67660ffdfbb4d3adc1dc729740266c1d0983a4 (diff) | |
download | freebsd-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/Makefile | 2 |
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 |