aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 14:41:15 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 14:41:15 +0800
commit13fbf93c41f4cea42f385da9cc22e36f96d66d51 (patch)
tree57e0d36f5252dfbcbd76ce8c591f83f1cd36486a /x11-toolkits
parent0ad33b7e0f1e94e8fd60f9d60aa9b63e0c1a4f81 (diff)
downloadfreebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.tar.gz
freebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.tar.zst
freebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.zip
Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLS
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk12/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
index 30889880cffb..cfed9cf5a557 100644
--- a/x11-toolkits/gtk12/Makefile
+++ b/x11-toolkits/gtk12/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: gtk12
-# Date Created: 28 Sep 1997
-# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
-#
+# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
# $FreeBSD$
# $MCom: ports/x11-toolkits/gtk12/Makefile,v 1.3 2006/10/09 19:31:53 ahze Exp $
@@ -26,7 +23,13 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale \
CONFIGURE_ENV= X_CFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
-.if !defined(WITHOUT_NLS)
+
+INFO= gdk gtk
+MAN1= gtk-config.1
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
@@ -34,9 +37,6 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-INFO= gdk gtk
-MAN1= gtk-config.1
-
pre-build:
${RM} -rf ${WRKSRC}/docs/gtk.info*