summaryrefslogtreecommitdiff
path: root/devel
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
parentRevert previous commit. That cannot fix CFLAGS problem. (diff)
Cleanup share/locale in PREFIX, LOCALBASE and X11BASE.
Diffstat (limited to 'devel')
-rw-r--r--devel/gettext-devel/Makefile2
-rw-r--r--devel/gettext-devel/pkg-plist6
-rw-r--r--devel/gettext-old/Makefile2
-rw-r--r--devel/gettext-old/pkg-plist6
-rw-r--r--devel/gettext/Makefile2
-rw-r--r--devel/gettext/pkg-plist6
6 files changed, 21 insertions, 3 deletions
diff --git a/devel/gettext-devel/Makefile b/devel/gettext-devel/Makefile
index 5fddf32abdea..9510fc6085d4 100644
--- a/devel/gettext-devel/Makefile
+++ b/devel/gettext-devel/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-devel/pkg-plist b/devel/gettext-devel/pkg-plist
index b4b81f299662..ad24b701e017 100644
--- a/devel/gettext-devel/pkg-plist
+++ b/devel/gettext-devel/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
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
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