aboutsummaryrefslogtreecommitdiffstats
path: root/mail/gnubiff
diff options
context:
space:
mode:
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