diff options
author | novel <novel@FreeBSD.org> | 2005-05-06 19:30:28 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2005-05-06 19:30:28 +0800 |
commit | 18bc321fda058d3a93b3ef045720a001553d3c6d (patch) | |
tree | c508bf4adc4e92ca0c325096dc4baabbcd024ebf /archivers | |
parent | 950ba0704f55f4d21453f82f0b3e653d79818603 (diff) | |
download | freebsd-ports-gnome-18bc321fda058d3a93b3ef045720a001553d3c6d.tar.gz freebsd-ports-gnome-18bc321fda058d3a93b3ef045720a001553d3c6d.tar.zst freebsd-ports-gnome-18bc321fda058d3a93b3ef045720a001553d3c6d.zip |
The second attempt to fix plist
Reported by: pointyhat via kris
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/sharutils/Makefile | 6 | ||||
-rw-r--r-- | archivers/sharutils/pkg-plist | 31 |
2 files changed, 33 insertions, 4 deletions
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 |