From owner-svn-ports-head@FreeBSD.ORG Sat Mar 1 07:24:16 2014 Return-Path: Delivered-To: svn-ports-head@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 A6E89F4C; Sat, 1 Mar 2014 07:24:16 +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 938B01141; Sat, 1 Mar 2014 07:24:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s217OG5d034051; Sat, 1 Mar 2014 07:24:16 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s217OGbC034050; Sat, 1 Mar 2014 07:24:16 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201403010724.s217OGbC034050@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sat, 1 Mar 2014 07:24:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346599 - head/databases/kyototycoon X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2014 07:24:16 -0000 Author: sunpoet Date: Sat Mar 1 07:24:16 2014 New Revision: 346599 URL: http://svnweb.freebsd.org/changeset/ports/346599 QAT: https://qat.redports.org/buildarchive/r346599/ Log: - Use BINMODE and DOCMODE - Simplify Makefile Modified: head/databases/kyototycoon/Makefile Modified: head/databases/kyototycoon/Makefile ============================================================================== --- head/databases/kyototycoon/Makefile Sat Mar 1 07:24:12 2014 (r346598) +++ head/databases/kyototycoon/Makefile Sat Mar 1 07:24:16 2014 (r346599) @@ -25,13 +25,8 @@ REINPLACE_ARGS= -i '' USE_LDCONFIG= yes USES= gmake pkgconfig -.include - post-patch: @${REINPLACE_CMD} -e 's|-lpthread|-pthread|g; s|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile -.if !${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in -.endif post-build: @cd ${WRKSRC}/ && ${STRIP_CMD} ktplugdbvoid.so ktplugservmemc.so \ @@ -39,12 +34,10 @@ post-build: ktutilmgr ktutilserv ktutiltest post-install: -.if ${PORT_OPTIONS:MDOCS} - ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \; - ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \; -.endif + ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} '{}' \; + ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} '{}' \; regression-test test: build cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check -.include +.include