aboutsummaryrefslogtreecommitdiff
path: root/devel/gindent/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-25 11:42:35 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-25 11:42:35 +0000
commit563748f353961ea2175665d74ee026e99a49489e (patch)
tree650908c6e0b4ec31fa1181884ca15e74008881e9 /devel/gindent/Makefile
parentd8c8eb98163958be39ea76dc47f3e61e27f5d0b9 (diff)
Notes
Diffstat (limited to 'devel/gindent/Makefile')
-rw-r--r--devel/gindent/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
index ec3799f1feff..4cf6e8c1f5ac 100644
--- a/devel/gindent/Makefile
+++ b/devel/gindent/Makefile
@@ -16,7 +16,6 @@ DISTNAME= indent-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU indent
-USE_GETTEXT= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -24,6 +23,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DBERKELEY_DEFAULTS=1" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --program-prefix=g
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
MAN1= gindent.1
INFO= indent