diff options
author | reg <reg@FreeBSD.org> | 2000-06-13 14:58:49 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-06-13 14:58:49 +0800 |
commit | 39bf5ae32ca3ec6c078c9f09fe0d0b3b458f58be (patch) | |
tree | 664e621857a891b57b2dbb2235ff350e5d884eca /devel/gettext | |
parent | bcd5fda74554dec461c9e51c25e7af0653184bb7 (diff) | |
download | freebsd-ports-gnome-39bf5ae32ca3ec6c078c9f09fe0d0b3b458f58be.tar.gz freebsd-ports-gnome-39bf5ae32ca3ec6c078c9f09fe0d0b3b458f58be.tar.zst freebsd-ports-gnome-39bf5ae32ca3ec6c078c9f09fe0d0b3b458f58be.zip |
Cleanup share/locale in PREFIX, LOCALBASE and X11BASE.
Diffstat (limited to 'devel/gettext')
-rw-r--r-- | devel/gettext/Makefile | 2 | ||||
-rw-r--r-- | devel/gettext/pkg-plist | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index 5fddf32abdea..9510fc6085d4 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -15,7 +15,7 @@ MAINTAINER= reg@FreeBSD.org USE_LIBTOOL= yes -PLIST_SUB= X11BASE=${X11BASE} +PLIST_SUB= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} pre-configure: ${RM} ${WRKSRC}/doc/gettext.info* diff --git a/devel/gettext/pkg-plist b/devel/gettext/pkg-plist index b4b81f299662..ad24b701e017 100644 --- a/devel/gettext/pkg-plist +++ b/devel/gettext/pkg-plist @@ -63,5 +63,11 @@ share/emacs/site-lisp/po-mode.el @unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true @unexec rmdir %D/share/locale/* 2>/dev/null || true @unexec rmdir %D/share/locale 2>/dev/null || true +@exec mkdir -p %%LOCALBASE%%/share/locale +@unexec rmdir %%LOCALBASE%%/share/locale/*/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %%LOCALBASE%%/share/locale/* 2>/dev/null || true +@unexec rmdir %%LOCALBASE%%/share/locale 2>/dev/null || true @exec mkdir -p %%X11BASE%%/share/locale +@unexec rmdir %%X11BASE%%/share/locale/*/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %%X11BASE%%/share/locale/* 2>/dev/null || true @unexec rmdir %%X11BASE%%/share/locale 2>/dev/null || true |