From 18bc321fda058d3a93b3ef045720a001553d3c6d Mon Sep 17 00:00:00 2001 From: novel Date: Fri, 6 May 2005 11:30:28 +0000 Subject: The second attempt to fix plist Reported by: pointyhat via kris --- archivers/sharutils/Makefile | 6 ++---- archivers/sharutils/pkg-plist | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 archivers/sharutils/pkg-plist diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile index f2dc86bd5cbc..da2cb2351d84 100644 --- a/archivers/sharutils/Makefile +++ b/archivers/sharutils/Makefile @@ -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: diff --git a/archivers/sharutils/pkg-plist b/archivers/sharutils/pkg-plist new file mode 100644 index 000000000000..11df4d415cec --- /dev/null +++ b/archivers/sharutils/pkg-plist @@ -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 -- cgit