From owner-svn-ports-all@FreeBSD.ORG Sun Mar 2 15:32:14 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B136E6; Sun, 2 Mar 2014 15:32:14 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 76A4D1B6C; Sun, 2 Mar 2014 15:32:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s22FWE70033588; Sun, 2 Mar 2014 15:32:14 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s22FWEjx033587; Sun, 2 Mar 2014 15:32:14 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201403021532.s22FWEjx033587@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 2 Mar 2014 15:32:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r346775 - branches/2014Q1/databases/kyotocabinet X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2014 15:32:14 -0000 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 - 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 +.include