1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Support WITHOUT_NLS

This commit is contained in:
Kirill Ponomarev 2004-07-10 16:58:28 +00:00
parent 6e262f48b3
commit bf26c28e8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113338
2 changed files with 23 additions and 15 deletions

View File

@ -36,4 +36,12 @@ MAN8= cleanup-info.8 dpkg-divert.8 dpkg-scanpackages.8 \
dpkg.8 dselect.8 install-info.8 start-stop-daemon.8 \
update-alternatives.8 update-rc.d.8
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>

View File

@ -42,21 +42,21 @@ sbin/install-info
sbin/start-stop-daemon
sbin/update-alternatives
sbin/update-rc.d
share/locale/ca/LC_MESSAGES/dpkg.mo
share/locale/cs/LC_MESSAGES/dpkg.mo
share/locale/da/LC_MESSAGES/dpkg.mo
share/locale/de/LC_MESSAGES/dpkg.mo
share/locale/en/LC_MESSAGES/dpkg.mo
share/locale/es/LC_MESSAGES/dpkg.mo
share/locale/fr/LC_MESSAGES/dpkg.mo
share/locale/gl/LC_MESSAGES/dpkg.mo
share/locale/it/LC_MESSAGES/dpkg.mo
share/locale/ja/LC_MESSAGES/dpkg.mo
share/locale/nl/LC_MESSAGES/dpkg.mo
share/locale/pl/LC_MESSAGES/dpkg.mo
share/locale/pt_BR/LC_MESSAGES/dpkg.mo
share/locale/ru/LC_MESSAGES/dpkg.mo
share/locale/sv/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/ca/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/cs/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/da/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/de/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/en/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/es/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/fr/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/gl/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/it/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/ja/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/nl/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/pl/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/ru/LC_MESSAGES/dpkg.mo
%%NLS%%share/locale/sv/LC_MESSAGES/dpkg.mo
@dirrm var/dpkg/updates
@dirrm var/dpkg/methods/mnt
@dirrm var/dpkg/methods/floppy