Date: Sun, 2 Mar 2014 15:32:14 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r346775 - branches/2014Q1/databases/kyotocabinet Message-ID: <201403021532.s22FWEjx033587@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 2 15:32:13 2014 New Revision: 346775 URL: http://svnweb.freebsd.org/changeset/ports/346775 QAT: https://qat.redports.org/buildarchive/r346775/ Log: MFH: r346598 - Allow "make package" as user - Use BINMODE and DOCMODE - Simplify Makefile Approved by: portmgr (bapt, via IRC) Modified: branches/2014Q1/databases/kyotocabinet/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/databases/kyotocabinet/Makefile ============================================================================== --- branches/2014Q1/databases/kyotocabinet/Makefile Sun Mar 2 15:30:50 2014 (r346774) +++ branches/2014Q1/databases/kyotocabinet/Makefile Sun Mar 2 15:32:13 2014 (r346775) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403021532.s22FWEjx033587>