From owner-svn-ports-all@FreeBSD.ORG Mon Jan 13 17:15:52 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 213DF27D; Mon, 13 Jan 2014 17:15:52 +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 0CC5F1356; Mon, 13 Jan 2014 17:15:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0DHFpZ0076009; Mon, 13 Jan 2014 17:15:51 GMT (envelope-from skreuzer@svn.freebsd.org) Received: (from skreuzer@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0DHFpvn076008; Mon, 13 Jan 2014 17:15:51 GMT (envelope-from skreuzer@svn.freebsd.org) Message-Id: <201401131715.s0DHFpvn076008@svn.freebsd.org> From: Steven Kreuzer Date: Mon, 13 Jan 2014 17:15:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339611 - head/www/mongrel2 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.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: Mon, 13 Jan 2014 17:15:52 -0000 Author: skreuzer Date: Mon Jan 13 17:15:51 2014 New Revision: 339611 URL: http://svnweb.freebsd.org/changeset/ports/339611 Log: Install example files when EXAMPLES is defined Replace USE_GMAKE with USES=gmake Add STAGEDIR Support Convert to new LIB_DEPENDS syntax Define LICENSE Modified: head/www/mongrel2/Makefile Modified: head/www/mongrel2/Makefile ============================================================================== --- head/www/mongrel2/Makefile Mon Jan 13 17:13:11 2014 (r339610) +++ head/www/mongrel2/Makefile Mon Jan 13 17:15:51 2014 (r339611) @@ -10,10 +10,12 @@ MASTER_SITES= http://mongrel2.org/static MAINTAINER= vg@FreeBSD.org COMMENT= Is an application, language, and network arch -LIB_DEPENDS= zmq.1:${PORTSDIR}/net/libzmq2 \ - sqlite3.8:${PORTSDIR}/databases/sqlite3 +LICENSE= BSD3CLAUSE -USE_GMAKE= yes +LIB_DEPENDS= libzmq.so:${PORTSDIR}/net/libzmq2 \ + libsqlite3.so:${PORTSDIR}/databases/sqlite3 + +USES= gmake USE_BZIP2= yes MAKE_FLAGS= freebsd EXAMPLES_LIST= bbs \ @@ -29,7 +31,6 @@ EXAMPLES_LIST= bbs \ OPTIONS_DEFINE= EXAMPLES -NO_STAGE= yes .include .if ${PORT_OPTIONS:MEXAMPLES} @@ -42,10 +43,10 @@ post-patch: @${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile post-install: -.if defined(WITH_EXAMPLES) - @${MKDIR} ${EXAMPLESDIR} +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} .for examples in ${EXAMPLES_LIST} - @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${examples} ${EXAMPLESDIR} + @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${examples} ${STAGEDIR}/${EXAMPLESDIR} .endfor .endif