aboutsummaryrefslogtreecommitdiff
path: root/devel/gettext-old
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-06-13 06:58:49 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-06-13 06:58:49 +0000
commit79e24ee31ac85c8c6a1c51321d6d3fd075f13141 (patch)
treec464ff65ad7d0ddffde72a62518d2069b6642db2 /devel/gettext-old
parentde9c80f056e45862f9214814aea2237c888e2b5a (diff)
downloadports-79e24ee31ac85c8c6a1c51321d6d3fd075f13141.tar.gz
ports-79e24ee31ac85c8c6a1c51321d6d3fd075f13141.zip
Cleanup share/locale in PREFIX, LOCALBASE and X11BASE.
Notes
Notes: svn path=/head/; revision=29557
Diffstat (limited to 'devel/gettext-old')
-rw-r--r--devel/gettext-old/Makefile2
-rw-r--r--devel/gettext-old/pkg-plist6
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/gettext-old/Makefile b/devel/gettext-old/Makefile
index 5fddf32abdea..9510fc6085d4 100644
--- a/devel/gettext-old/Makefile
+++ b/devel/gettext-old/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-old/pkg-plist b/devel/gettext-old/pkg-plist
index b4b81f299662..ad24b701e017 100644
--- a/devel/gettext-old/pkg-plist
+++ b/devel/gettext-old/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