mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Support WITHOUT_NLS
Pet portlint
This commit is contained in:
parent
066a44e530
commit
5c673d837f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113386
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user