aboutsummaryrefslogtreecommitdiffstats
path: root/devel/c4
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-16 07:11:12 +0800
committeradamw <adamw@FreeBSD.org>2014-07-16 07:11:12 +0800
commit9343eeba7783ac2ce4c8f5c88ab322647d489c19 (patch)
tree37076f8661cc0a667d6e54eab2728ecc665430a0 /devel/c4
parentd5dd4663dfc459a5aa6a241eff9b72f253fbc4e8 (diff)
downloadfreebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.tar.gz
freebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.tar.zst
freebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.zip
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by ruby@, PORTDOCS is applied to pretty much everything whether it's documentation or example.
Diffstat (limited to 'devel/c4')
-rw-r--r--devel/c4/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/c4/Makefile b/devel/c4/Makefile
index 1f942ec7d4b2..414d227b1129 100644
--- a/devel/c4/Makefile
+++ b/devel/c4/Makefile
@@ -13,12 +13,14 @@ COMMENT= CVS-like Frontend to Perforce
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ALL_TARGET= c4
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/c4 ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/c4.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/c4 ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/c4.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/c4.pdf ${STAGEDIR}${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/c4.ps ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/c4.pdf ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/c4.ps ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>