diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-25 11:42:35 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-25 11:42:35 +0000 |
commit | 563748f353961ea2175665d74ee026e99a49489e (patch) | |
tree | 650908c6e0b4ec31fa1181884ca15e74008881e9 /devel/gindent | |
parent | d8c8eb98163958be39ea76dc47f3e61e27f5d0b9 (diff) | |
download | ports-563748f353961ea2175665d74ee026e99a49489e.tar.gz ports-563748f353961ea2175665d74ee026e99a49489e.zip |
Notes
Diffstat (limited to 'devel/gindent')
-rw-r--r-- | devel/gindent/Makefile | 9 | ||||
-rw-r--r-- | devel/gindent/pkg-plist | 40 |
2 files changed, 28 insertions, 21 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 diff --git a/devel/gindent/pkg-plist b/devel/gindent/pkg-plist index 5394c149bf33..4f9606384db3 100644 --- a/devel/gindent/pkg-plist +++ b/devel/gindent/pkg-plist @@ -1,24 +1,24 @@ bin/gindent bin/gtexinfo2man %%PORTDOCS%%%%DOCSDIR%%/indent.html -share/locale/ca/LC_MESSAGES/indent.mo -share/locale/da/LC_MESSAGES/indent.mo -share/locale/de/LC_MESSAGES/indent.mo -share/locale/eo/LC_MESSAGES/indent.mo -share/locale/et/LC_MESSAGES/indent.mo -share/locale/fi/LC_MESSAGES/indent.mo -share/locale/fr/LC_MESSAGES/indent.mo -share/locale/gl/LC_MESSAGES/indent.mo -share/locale/hu/LC_MESSAGES/indent.mo -share/locale/it/LC_MESSAGES/indent.mo -share/locale/ja/LC_MESSAGES/indent.mo -share/locale/ko/LC_MESSAGES/indent.mo -share/locale/nl/LC_MESSAGES/indent.mo -share/locale/pl/LC_MESSAGES/indent.mo -share/locale/pt_BR/LC_MESSAGES/indent.mo -share/locale/ru/LC_MESSAGES/indent.mo -share/locale/sk/LC_MESSAGES/indent.mo -share/locale/sv/LC_MESSAGES/indent.mo -share/locale/tr/LC_MESSAGES/indent.mo -share/locale/zh_TW.Big5/LC_MESSAGES/indent.mo +%%NLS%%share/locale/ca/LC_MESSAGES/indent.mo +%%NLS%%share/locale/da/LC_MESSAGES/indent.mo +%%NLS%%share/locale/de/LC_MESSAGES/indent.mo +%%NLS%%share/locale/eo/LC_MESSAGES/indent.mo +%%NLS%%share/locale/et/LC_MESSAGES/indent.mo +%%NLS%%share/locale/fi/LC_MESSAGES/indent.mo +%%NLS%%share/locale/fr/LC_MESSAGES/indent.mo +%%NLS%%share/locale/gl/LC_MESSAGES/indent.mo +%%NLS%%share/locale/hu/LC_MESSAGES/indent.mo +%%NLS%%share/locale/it/LC_MESSAGES/indent.mo +%%NLS%%share/locale/ja/LC_MESSAGES/indent.mo +%%NLS%%share/locale/ko/LC_MESSAGES/indent.mo +%%NLS%%share/locale/nl/LC_MESSAGES/indent.mo +%%NLS%%share/locale/pl/LC_MESSAGES/indent.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/indent.mo +%%NLS%%share/locale/ru/LC_MESSAGES/indent.mo +%%NLS%%share/locale/sk/LC_MESSAGES/indent.mo +%%NLS%%share/locale/sv/LC_MESSAGES/indent.mo +%%NLS%%share/locale/tr/LC_MESSAGES/indent.mo +%%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/indent.mo %%PORTDOCS%%@dirrm %%DOCSDIR%% |