diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-10-09 13:59:41 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-10-09 13:59:41 +0000 |
commit | a3676c95e9a250ecafc22323330190e2b28dbb1b (patch) | |
tree | 8ed1d1e29e45f74c2012df6390d66c88f1d757e5 /databases/kyotocabinet | |
parent | 179cc197defa0738b78487dd84db4a5f8e0272ae (diff) | |
download | ports-a3676c95e9a250ecafc22323330190e2b28dbb1b.tar.gz ports-a3676c95e9a250ecafc22323330190e2b28dbb1b.zip |
Notes
Diffstat (limited to 'databases/kyotocabinet')
-rw-r--r-- | databases/kyotocabinet/Makefile | 12 |
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}/ |