Date: Mon, 4 Feb 2013 18:27:56 GMT From: Veniamin Gvozdikov <g.veniamin@googlemail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/175839: [update]: www/mongrel2 up to optionsng Message-ID: <201302041827.r14IRuc5010721@red.freebsd.org> Resent-Message-ID: <201302041830.r14IU0qO016142@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175839 >Category: ports >Synopsis: [update]: www/mongrel2 up to optionsng >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 04 18:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Veniamin Gvozdikov >Release: FreeBSD 8.3-RELEASE-p5 >Organization: >Environment: FreeBSD ololo 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Thu Dec 6 16:25:28 MSK 2012 root@ololo:/usr/obj/usr/src/sys/OLOLO amd64 >Description: Update to optionsng >How-To-Repeat: >Fix: diff -ruN mongrel2.orig/Makefile mongrel2/Makefile --- mongrel2.orig/Makefile 2013-02-04 22:26:06.492836582 +0400 +++ mongrel2/Makefile 2013-02-04 18:01:14.620972142 +0400 @@ -1,20 +1,17 @@ -# New ports collection makefile for: mongrel2 -# Date created: 2011-09-28 -# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com> -# -# $FreeBSD: ports/www/mongrel2/Makefile,v 1.2 2012/11/17 06:02:43 svnexp Exp $ -# +# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com> +# $FreeBSD$ PORTNAME= mongrel2 PORTVERSION= 1.7.5 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://mongrel2.org/static/downloads/ MAINTAINER= g.veniamin@googlemail.com COMMENT= Is an application, language, and network arch -LIB_DEPENDS= zmq.1:${PORTSDIR}/devel/zmq \ - sqlite3.8:${PORTSDIR}/databases/sqlite3 +LIB_DEPENDS= zmq:${PORTSDIR}/devel/zmq \ + sqlite3:${PORTSDIR}/databases/sqlite3 USE_GMAKE= yes USE_BZIP2= yes @@ -30,11 +27,12 @@ tornado \ zcov -OPTIONS= EXAMPLES "Install examplse" on +OPTIONS_DEFINE= EXAMPLES +EXAMPLES_DESC= Install examplse -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_EXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} PLIST_SUB+= EXAMPLES="" .else PLIST_SUB+= EXAMPLES="@comment " @@ -44,11 +42,11 @@ @${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile post-install: -.if defined(WITH_EXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} .for examples in ${EXAMPLES_LIST} @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${examples} ${EXAMPLESDIR} .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302041827.r14IRuc5010721>