aboutsummaryrefslogtreecommitdiff
path: root/graphics/gscan2pdf
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
commit9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch)
tree8583dfe71adaea6ce266633e1799cd602516b801 /graphics/gscan2pdf
parent25c4307da135103ea810d65f96f2f1c21e0547b4 (diff)
downloadports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.tar.gz
ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.zip
Notes
Diffstat (limited to 'graphics/gscan2pdf')
-rw-r--r--graphics/gscan2pdf/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/gscan2pdf/Makefile b/graphics/gscan2pdf/Makefile
index 5f688ddfe691..d768a216b317 100644
--- a/graphics/gscan2pdf/Makefile
+++ b/graphics/gscan2pdf/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gscan2pdf
-# Date created: 4 September 2006
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= gscan2pdf
PORTVERSION= 1.0.4
@@ -72,7 +68,9 @@ PERL_CONFIGURE= yes
MAN1= ${PORTNAME}.1 scanadf-perl.1 scanimage-perl.1
PORT_VERBS= ${PORTNAME} Gscan2pdf
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include