The second attempt to fix plist

Reported by:	pointyhat via kris
This commit is contained in:
Roman Bogorodskiy 2005-05-06 11:30:28 +00:00
parent 0f28145492
commit 36c70e5048
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134694
2 changed files with 33 additions and 4 deletions

View file

@ -21,16 +21,14 @@ CONFIGURE_ARGS= --program-prefix=g --disable-uucode
INSTALL_TARGET= install install-man
MAN1= gshar.1 gunshar.1
INFO= sharutils
PLIST_FILES= bin/gmail-files bin/gmailshar bin/gremsync bin/gshar bin/gunshar
.if defined(WITHOUT_NLS)
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+=--disable-nls
.else
PLIST_SUB+= NLS=""
USE_GETTEXT= yes
CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
.for l in et it vi fi sr rw ca cs da de el es fr gl hu ja nb nl nn pt ru sv tr zh_TW
PLIST_FILES+= share/locale/${l}/LC_MESSAGES/sharutils.mo
.endfor
.endif
post-patch:

View file

@ -0,0 +1,31 @@
bin/gmail-files
bin/gmailshar
bin/gremsync
bin/gshar
bin/gunshar
%%NLS%%share/locale/ca/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/cs/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/da/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/de/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/el/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/es/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/et/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/fi/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/fr/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/gl/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/hu/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/it/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/nb/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/nl/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/nn/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/pt/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/ru/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/rw/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/sr/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/sv/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/tr/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/vi/LC_MESSAGES/sharutils.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/sharutils.mo
%%NLS%%@unexec rmdir %D/share/locale/rw/LC_MESSAGES 2> /dev/null || true
%%NLS%%@unexec rmdir %D/share/locale/rw 2> /dev/null || true