aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 23:18:38 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 23:18:38 +0800
commit1a690bacd9585a99a155a2f741cff79b443b6523 (patch)
treec7e91489b0dba2b35a29ac169022f6d1f2d0ecb0 /graphics
parentd7700830d846aa135f6cc2d27c2ad15d2c795b13 (diff)
downloadfreebsd-ports-gnome-1a690bacd9585a99a155a2f741cff79b443b6523.tar.gz
freebsd-ports-gnome-1a690bacd9585a99a155a2f741cff79b443b6523.tar.zst
freebsd-ports-gnome-1a690bacd9585a99a155a2f741cff79b443b6523.zip
Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
Diffstat (limited to 'graphics')
-rw-r--r--graphics/geomorph/Makefile10
-rw-r--r--graphics/ocrfeeder/Makefile16
2 files changed, 11 insertions, 15 deletions
diff --git a/graphics/geomorph/Makefile b/graphics/geomorph/Makefile
index 48022cde2b95..19a325d05e59 100644
--- a/graphics/geomorph/Makefile
+++ b/graphics/geomorph/Makefile
@@ -1,9 +1,5 @@
-# ports collection makefile for: geomorph
-# Date created: 24 Feb 2006
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= geomorph
PORTVERSION= 0.50
@@ -25,7 +21,9 @@ CONFIGURE_ARGS= --with-libintl-prefix="${LOCALBASE}"
PLIST_SUB= PORTVERSION=${PORTVERSION}
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
diff --git a/graphics/ocrfeeder/Makefile b/graphics/ocrfeeder/Makefile
index ee0faac9437e..76ac9de63aaa 100644
--- a/graphics/ocrfeeder/Makefile
+++ b/graphics/ocrfeeder/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ocrfeeder
-# Date created: 5 August 2011
-# Whom: buganini@gmail.com
-#
+# Created by: buganini@gmail.com
# $FreeBSD$
-#
PORTNAME= ocrfeeder
PORTVERSION= 0.7.7
@@ -35,12 +31,14 @@ USE_GNOME= pygtk2 pygnomeextras
USES= gettext
USE_GHOSTSCRIPT=yes
-.if defined(WITHOUT_NLS)
-PLIST_SUB+= NLS="@comment "
-CONFIGURE_ARGS+= --disable-nls
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+CONFIGURE_ARGS+= --disable-nls
.endif
post-install: