aboutsummaryrefslogtreecommitdiff
path: root/databases/kyotocabinet
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-10-09 13:59:41 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-10-09 13:59:41 +0000
commita3676c95e9a250ecafc22323330190e2b28dbb1b (patch)
tree8ed1d1e29e45f74c2012df6390d66c88f1d757e5 /databases/kyotocabinet
parent179cc197defa0738b78487dd84db4a5f8e0272ae (diff)
downloadports-a3676c95e9a250ecafc22323330190e2b28dbb1b.tar.gz
ports-a3676c95e9a250ecafc22323330190e2b28dbb1b.zip
Notes
Diffstat (limited to 'databases/kyotocabinet')
-rw-r--r--databases/kyotocabinet/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/databases/kyotocabinet/Makefile b/databases/kyotocabinet/Makefile
index fe249a3fa98e..d07b7e9dbb0a 100644
--- a/databases/kyotocabinet/Makefile
+++ b/databases/kyotocabinet/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: kyotocabinet
-# Date created: 22 April 2010
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
+# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
-#
PORTNAME= kyotocabinet
PORTVERSION= 1.2.76
@@ -16,6 +12,8 @@ COMMENT= A straightforward implementation of DBM
LICENSE= GPLv3
+OPTIONS_DEFINE= DOCS
+
GNU_CONFIGURE= yes
MAKE_ARGS= PCDIR="${PREFIX}/libdata/pkgconfig"
MAKE_JOBS_SAFE= yes
@@ -56,12 +54,12 @@ BROKEN= Does not link on powerpc
.endif
post-patch:
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${FIND} ${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \;
${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \;
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/