svn commit: r336333 - head/mail/gnubiff

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 13 11:23:12 UTC 2013


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 at 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


More information about the svn-ports-head mailing list