diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-11 10:30:37 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-11 10:30:37 +0000 |
commit | 5c673d837f069533db85b62427c220dc40e6e16b (patch) | |
tree | 7eccb5bea77298f657b0b8a6d1338f7c1e378c5b /lang/gawk | |
parent | Support WITHOUT_NLS (diff) |
Support WITHOUT_NLS
Pet portlint
Notes
Notes:
svn path=/head/; revision=113386
Diffstat (limited to 'lang/gawk')
-rw-r--r-- | lang/gawk/Makefile | 9 | ||||
-rw-r--r-- | lang/gawk/pkg-plist | 20 |
2 files changed, 16 insertions, 13 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index b27d8f85dc81..70849231e424 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= gawk MAINTAINER= dd@FreeBSD.org COMMENT= The GNU version of Awk +INFO= gawk gawkinet + .include <bsd.port.pre.mk> .if ${OSVERSION} >= 500039 @@ -26,6 +28,13 @@ CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \ MAN1= gawk.1 igawk.1 PLIST_SUB= VERSION=${PORTVERSION} + +.if !defined(WITHOUT_NLS) USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif .include <bsd.port.post.mk> diff --git a/lang/gawk/pkg-plist b/lang/gawk/pkg-plist index a1001b85d5f0..e861abb344d4 100644 --- a/lang/gawk/pkg-plist +++ b/lang/gawk/pkg-plist @@ -3,12 +3,6 @@ bin/gawk-%%VERSION%% bin/igawk bin/pgawk bin/pgawk-%%VERSION%% -@unexec install-info --delete %D/info/gawk.info %D/info/dir -info/gawk.info -@exec install-info %D/info/gawk.info %D/info/dir -@unexec install-info --delete %D/info/gawkinet.info %D/info/dir -info/gawkinet.info -@exec install-info %D/info/gawkinet.info %D/info/dir libexec/awk/grcat libexec/awk/pwcat share/awk/assert.awk @@ -28,12 +22,12 @@ share/awk/passwd.awk share/awk/readable.awk share/awk/rewind.awk share/awk/round.awk -share/locale/de/LC_MESSAGES/gawk.mo -share/locale/es/LC_MESSAGES/gawk.mo -share/locale/fr/LC_MESSAGES/gawk.mo -share/locale/he/LC_MESSAGES/gawk.mo -share/locale/it/LC_MESSAGES/gawk.mo -share/locale/sv/LC_MESSAGES/gawk.mo -share/locale/tr/LC_MESSAGES/gawk.mo +%%NLS%%share/locale/de/LC_MESSAGES/gawk.mo +%%NLS%%share/locale/es/LC_MESSAGES/gawk.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gawk.mo +%%NLS%%share/locale/he/LC_MESSAGES/gawk.mo +%%NLS%%share/locale/it/LC_MESSAGES/gawk.mo +%%NLS%%share/locale/sv/LC_MESSAGES/gawk.mo +%%NLS%%share/locale/tr/LC_MESSAGES/gawk.mo @dirrm share/awk @dirrm libexec/awk |