Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 22:53:42 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305420 - head/x11/Terminal
Message-ID:  <201210062253.q96MrgKp058431@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Oct  6 22:53:42 2012
New Revision: 305420
URL: http://svn.freebsd.org/changeset/ports/305420

Log:
  Convert to OptionsNG

Modified:
  head/x11/Terminal/Makefile

Modified: head/x11/Terminal/Makefile
==============================================================================
--- head/x11/Terminal/Makefile	Sat Oct  6 22:53:15 2012	(r305419)
+++ head/x11/Terminal/Makefile	Sat Oct  6 22:53:42 2012	(r305420)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	Terminal
-# Date created:		23 October 2004
-# Whom:			Matt Lancereau <ports@FreeBSD.org>
-#
+# Created by: Matt Lancereau <ports@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	Terminal
 PORTVERSION=	0.4.8
@@ -29,26 +25,25 @@ USE_XORG=	x11
 CONFIGURE_ARGS=	--without-gnome-default-appsdir
 CONFIGURE_ENV+=	ac_cv_prog_AWK="${AWK}"
 
-OPTIONS=	DBUS	"Enable D-BUS support"			on \
-		NLS	"Enable Native Language Support"	on
+OPTIONS_DEFINE=	DBUS NLS
 
 MAN1=		Terminal.1
 MANLANG=	"" ca da el es fr gl id it ja pt ru sv ug zh_CN
 
 .include  <bsd.port.pre.mk>
 
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-doc-Makefile.in
 .endif
 
-.if !defined(WITHOUT_DBUS)
+.if ${PORT_OPTIONS:MDBUS}
 LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
 CONFIGURE_ARGS+=--enable-dbus
 .else
 CONFIGURE_ARGS+=--disable-dbus
 .endif
 
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 CONFIGURE_ARGS+=--enable-nls
 PLIST_SUB+=	NLS=""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210062253.q96MrgKp058431>