aboutsummaryrefslogtreecommitdiff
path: root/graphics/ocrfeeder
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 15:18:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 15:18:38 +0000
commit46023dda782befc55f7fb4143e1d8aefa1f11ea4 (patch)
treec7e91489b0dba2b35a29ac169022f6d1f2d0ecb0 /graphics/ocrfeeder
parent6ff7383dfb1ae83944fa8f8499a2cf46911ad11c (diff)
Notes
Diffstat (limited to 'graphics/ocrfeeder')
-rw-r--r--graphics/ocrfeeder/Makefile16
1 files changed, 7 insertions, 9 deletions
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: