From owner-svn-ports-all@FreeBSD.ORG Tue Oct 9 14:00:35 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1758E4FC; Tue, 9 Oct 2012 14:00:35 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F39668FC1C; Tue, 9 Oct 2012 14:00:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q99E0YU1017071; Tue, 9 Oct 2012 14:00:34 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q99E0Y2l017068; Tue, 9 Oct 2012 14:00:34 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201210091400.q99E0Y2l017068@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 9 Oct 2012 14:00:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305587 - 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-all@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 09 Oct 2012 14:00:35 -0000 X-List-Received-Date: Tue, 09 Oct 2012 14:00:35 -0000 X-List-Received-Date: Tue, 09 Oct 2012 14:00:35 -0000 X-List-Received-Date: Tue, 09 Oct 2012 14:00:35 -0000 Author: sunpoet Date: Tue Oct 9 14:00:34 2012 New Revision: 305587 URL: http://svn.freebsd.org/changeset/ports/305587 Log: - Add LICENSE - Convert to new options framework - Cleanup Makefile header Modified: head/databases/kyototycoon/Makefile (contents, props changed) Modified: head/databases/kyototycoon/Makefile ============================================================================== --- head/databases/kyototycoon/Makefile Tue Oct 9 13:59:41 2012 (r305586) +++ head/databases/kyototycoon/Makefile Tue Oct 9 14:00:34 2012 (r305587) @@ -1,9 +1,5 @@ -# New ports collection makefile for: kyototycoon -# Date created: 2011-10-04 -# Whom: Sunpoet Po-Chuan Hsieh -# +# Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ -# PORTNAME= kyototycoon PORTVERSION= 0.9.56 @@ -14,8 +10,12 @@ MASTER_SITES= http://fallabs.com/${PORTN MAINTAINER= sunpoet@FreeBSD.org COMMENT= A handy cache/storage server +LICENSE= GPLv3 + LIB_DEPENDS= kyotocabinet:${PORTSDIR}/databases/kyotocabinet +OPTIONS_DEFINE= DOCS + CONFIGURE_ARGS= --enable-profile --enable-uyield GNU_CONFIGURE= yes MAKE_ARGS= PCDIR="${PREFIX}/libdata/pkgconfig" @@ -32,8 +32,10 @@ MAN1= ktremotemgr.1 \ ktutilserv.1 \ ktutiltest.1 +.include + post-patch: -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in .endif @@ -41,7 +43,7 @@ post-configure: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile 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}/