aboutsummaryrefslogtreecommitdiff
path: root/net/jwhois/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 10:22:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 10:22:41 +0000
commit062ed8d36fcff34f0d3051dd7687377d27558a32 (patch)
tree35173dab2afafdac2c12b688bfc1f1397a7b8cfb /net/jwhois/Makefile
parent00787ee8ab577b8449043d2c735d6136daf31f74 (diff)
Notes
Diffstat (limited to 'net/jwhois/Makefile')
-rw-r--r--net/jwhois/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index c356e53a849e..4bff3acb95f1 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: jwhois
-# Date created: 15 Jul 2000
-# Whom: matusita@jp.FreeBSD.org
-#
+# Created by: matusita@jp.FreeBSD.org
# $FreeBSD$
-#
PORTNAME= jwhois
PORTVERSION= 4.0
@@ -22,11 +18,14 @@ USE_GMAKE= yes
CPPFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
CONFIGURE_ARGS= --localstatedir=${PREFIX}/var/jwhois
-.if defined(WITHOUT_NLS)
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+PLIST_SUB= NLS=""
+.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
-.else
-PLIST_SUB= NLS=""
.endif
INSTALL_TARGET= install-strip