From 7b4653800e24da0a98123150d0c708e8d3d3cf2e Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 13 Dec 2013 11:23:11 +0000 Subject: convert WITHOUT_NLS to option With hat: portmgr --- mail/gnubiff/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 + .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 -- cgit