aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gettext
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-06-13 14:58:49 +0800
committerreg <reg@FreeBSD.org>2000-06-13 14:58:49 +0800
commit39bf5ae32ca3ec6c078c9f09fe0d0b3b458f58be (patch)
tree664e621857a891b57b2dbb2235ff350e5d884eca /devel/gettext
parentbcd5fda74554dec461c9e51c25e7af0653184bb7 (diff)
downloadfreebsd-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/Makefile2
-rw-r--r--devel/gettext/pkg-plist6
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