diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-05-06 11:30:28 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-05-06 11:30:28 +0000 |
commit | 36c70e504828797757112839141be5ba60a5e24f (patch) | |
tree | cfa1261034eab02621a9b6fe7f7e429dfeedcd27 /archivers/sharutils | |
parent | 0f28145492e6d4826a619f6f5ffe06b53f4ff6fe (diff) | |
download | ports-36c70e504828797757112839141be5ba60a5e24f.tar.gz ports-36c70e504828797757112839141be5ba60a5e24f.zip |
Notes
Diffstat (limited to 'archivers/sharutils')
-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 |