Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2013 11:23:12 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336333 - head/mail/gnubiff
Message-ID:  <201312131123.rBDBNCMO095610@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 13 11:23:11 2013
New Revision: 336333
URL: http://svnweb.freebsd.org/changeset/ports/336333

Log:
  convert WITHOUT_NLS to option
  
  With hat:	portmgr

Modified:
  head/mail/gnubiff/Makefile

Modified: head/mail/gnubiff/Makefile
==============================================================================
--- head/mail/gnubiff/Makefile	Fri Dec 13 11:17:19 2013	(r336332)
+++ head/mail/gnubiff/Makefile	Fri Dec 13 11:23:11 2013	(r336333)
@@ -10,6 +10,8 @@ MASTER_SITES=	SF
 MAINTAINER=	tdb@FreeBSD.org
 COMMENT=	A mail notification program for Gnome
 
+OPTIONS_DEFINE=	NLS
+
 LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
 
 USE_GNOME=	intlhack libglade2 esound
@@ -26,11 +28,13 @@ CXXFLAGS+=	"-Wno-long-long"
 MAN1=		gnubiff.1
 INFO=		gnubiff
 
+.include <bsd.port.options.mk>
+
 .ifdef(WITH_GNUBIFF_PASSWORD)
 CONFIGURE_ARGS+=	--with-password
 .endif
 
-.ifndef(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 CONFIGURE_ARGS+=	--enable-nls
 PLIST_SUB+=		NLS=""
 USES+=		gettext



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