Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 10:43:30 -0700
From:      Jason Helfman <jgh@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tom@hur.st
Subject:   ports/169788: [PATCH] x11/terminator: use new options framework
Message-ID:  <1342028610.214576.98401.nullmailer@experts-exchange.com>
Resent-Message-ID: <201207111750.q6BHo1HQ052718@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169788
>Category:       ports
>Synopsis:       [PATCH] x11/terminator: use new options framework
>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:   Wed Jul 11 17:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 8.3-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dormouse.experts-exchange.com 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC
>Description:
use new options framework

Port maintainer (tom@hur.st) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- terminator-0.96_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11/terminator/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	1 Jun 2012 05:25:20 -0000	1.18
+++ Makefile	11 Jul 2012 17:44:43 -0000
@@ -17,8 +17,9 @@
 
 LICENSE=	GPLv2
 
-OPTIONS=	NLS	"Native language support" 	on \
-		GCONF	"Use GNOME Terminal settings"	on
+OPTIONS_DEFINE=	NLS GCONF
+GCONF_DESC=	Use GNOME Terminal settings
+OPTIONS_DEFAULT=	NLS GCONF
 
 USE_PYTHON=	2.5+
 USE_PYDISTUTILS=	yes
@@ -31,7 +32,7 @@
 .include <bsd.port.pre.mk>
 
 PYSETUP+=	--without-icon-cache
-.ifdef(WITHOUT_NLS)
+.if empty(PORT_OPTIONS:MNLS)
 PLIST_SUB+=	NLS="@comment "
 PYSETUP+=	--without-gettext
 .else
@@ -40,7 +41,7 @@
 .endif
 
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte
-.if defined(WITH_GCONF)
+.if ${PORT_OPTIONS:MGCONF}
 USE_GNOME+=	pygnome2
 .endif
 USE_GNOME+=	pygtk2
--- terminator-0.96_3.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?1342028610.214576.98401.nullmailer>