ports/169788: [PATCH] x11/terminator: use new options framework
Jason Helfman
jgh at FreeBSD.org
Wed Jul 11 17:50:02 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list