aboutsummaryrefslogtreecommitdiff
path: root/databases/kyotocabinet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/kyotocabinet/Makefile')
-rw-r--r--databases/kyotocabinet/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/databases/kyotocabinet/Makefile b/databases/kyotocabinet/Makefile
index 27dfc8af4e19..42d6d86a5aff 100644
--- a/databases/kyotocabinet/Makefile
+++ b/databases/kyotocabinet/Makefile
@@ -25,13 +25,8 @@ USES= gmake
NOT_FOR_ARCHS= powerpc
NOT_FOR_ARCHS_REASON= does not link
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile ${WRKSRC}/lab/kcdict/Makefile
-.if !${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in
-.endif
post-build:
@cd ${WRKSRC}/ && ${STRIP_CMD} libkyotocabinet.so.16.13.0 kccachetest \
@@ -41,10 +36,7 @@ post-build:
kcutiltest
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \;
- ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \;
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}/
-.endif
+ ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} '{}' \;
+ ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} '{}' \;
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>