aboutsummaryrefslogtreecommitdiffstats
path: root/mail/gnubiff
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-13 19:23:11 +0800
committerbapt <bapt@FreeBSD.org>2013-12-13 19:23:11 +0800
commit7b4653800e24da0a98123150d0c708e8d3d3cf2e (patch)
tree00308bb6535d0f83d082eef3aff512b0e6a780bc /mail/gnubiff
parent10683952c4a318d634c7e95abcb9f936d6394b7a (diff)
downloadfreebsd-ports-gnome-7b4653800e24da0a98123150d0c708e8d3d3cf2e.tar.gz
freebsd-ports-gnome-7b4653800e24da0a98123150d0c708e8d3d3cf2e.tar.zst
freebsd-ports-gnome-7b4653800e24da0a98123150d0c708e8d3d3cf2e.zip
convert WITHOUT_NLS to option
With hat: portmgr
Diffstat (limited to 'mail/gnubiff')
-rw-r--r--mail/gnubiff/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/gnubiff/Makefile b/mail/gnubiff/Makefile
index 672288a459d9..bb06f9bfcf93 100644
--- a/mail/gnubiff/Makefile
+++ b/mail/gnubiff/Makefile
@@ -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