Date: Tue, 04 Jun 2013 00:49:11 +0200 From: Matthias Andree <mandree@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: alexey@renatasystems.org Subject: ports/179280: [PATCH] mail/lbdb: optionsNG conversion Message-ID: <E1UjdYt-0001kL-Sf@apollo.emma.line.org> Resent-Message-ID: <201306032250.r53Mo1c6058439@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179280 >Category: ports >Synopsis: [PATCH] mail/lbdb: optionsNG conversion >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 03 22:50:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD apollo.emma.line.org 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: - Convert to optionsNG - Cook header Port maintainer (alexey@renatasystems.org) is cc'd. Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- lbdb-0.37.patch begins here --- diff -ruN /usr/ports/mail/lbdb/Makefile ./Makefile --- /usr/ports/mail/lbdb/Makefile 2012-11-17 06:59:04.000000000 +0100 +++ ./Makefile 2013-06-03 23:47:21.000000000 +0200 @@ -1,9 +1,5 @@ -# New ports collection makefile for: lbdb -# Date created: 2 February 2000 -# Whom: mwest@uct.ac.za -# -# $FreeBSD: ports/mail/lbdb/Makefile,v 1.37 2012/11/17 05:59:04 svnexp Exp $ -# +# Created by: mwest@uct.ac.za +# $FreeBSD$ PORTNAME= lbdb PORTVERSION= 0.37 @@ -17,9 +13,10 @@ RUN_DEPENDS= gsed:${PORTSDIR}/textproc/gsed \ p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap -OPTIONS= ABOOK "Enable abook address book support" off \ - EVOLUTION "Enable Ximan Evolution support" off \ - GPG "Enable GNU Privacy Guard support" off +OPTIONS_DEFINE= ABOOK EVOLUTION GPG +ABOOK_DESC= Abook address book support +EVOLUTION_DESC= Evolution support +GPG_DESC= GNU Privacy Guard support WRKSRC= ${WRKDIR}/lbdb-${PORTVERSION} GNU_CONFIGURE= yes @@ -34,7 +31,7 @@ WITH_GETENT= yes .endif -.if defined(WITH_GPG) +.if ${PORT_OPTIONS:MGPG} BUILD_DEPENDS+= gpg:${PORTSDIR}/security/gnupg RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg PLIST_SUB+= GPG="" @@ -42,7 +39,7 @@ PLIST_SUB+= GPG="@comment " .endif -.if defined(WITH_ABOOK) +.if ${PORT_OPTIONS:MABOOK} BUILD_DEPENDS+= abook:${PORTSDIR}/mail/abook RUN_DEPENDS+= abook:${PORTSDIR}/mail/abook PLIST_SUB+= ABOOK="" @@ -50,7 +47,7 @@ PLIST_SUB+= ABOOK="@comment " .endif -.if defined(WITH_EVOLUTION) +.if ${PORT_OPTIONS:MEVOLUTION} BUILD_DEPENDS+= evolution:${PORTSDIR}/mail/evolution RUN_DEPENDS+= evolution:${PORTSDIR}/mail/evolution PLIST_SUB+= EVOLUTION="" --- lbdb-0.37.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1UjdYt-0001kL-Sf>