aboutsummaryrefslogtreecommitdiff
path: root/devel/ccache
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
commitc4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch)
tree98f96307b5a32cecd5d4e2104c22673c560b9789 /devel/ccache
parent56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff)
Notes
Diffstat (limited to 'devel/ccache')
-rw-r--r--devel/ccache/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile
index 6195b4847512..ee2e7059064d 100644
--- a/devel/ccache/Makefile
+++ b/devel/ccache/Makefile
@@ -21,7 +21,7 @@ MAN1= ccache.1
PORTDOCS= ccache-howto-freebsd.txt MANUAL.html
-OPTIONS_DEFINE= CLANGLINK LLVMLINK STATIC
+OPTIONS_DEFINE= CLANGLINK LLVMLINK STATIC DOCS
CLANGLINK_DESC= Create clang compiler links if clang is installed
LLVMLINK_DESC= Create llvm compiler links if llvm is installed
@@ -75,7 +75,7 @@ do-install:
${PREFIX}/bin/ccache-update-links
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.tar ${DATADIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/MANUAL.html ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${HOWTO} ${DOCSDIR}