summaryrefslogtreecommitdiff
path: root/graphics/ee/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-10-23 17:06:56 +0000
committerjlam <jlam@pkgsrc.org>2000-10-23 17:06:56 +0000
commit753219f720011150b43a0e294c676450d4ca7bb5 (patch)
treec7e5e5d83ba812258068df426ce8ec42cd4b10d8 /graphics/ee/Makefile
parentd20ad90e86ace430cb974eaf12c533be7eacca59 (diff)
downloadpkgsrc-753219f720011150b43a0e294c676450d4ca7bb5.tar.gz
Install locale files into correct places, depending on the OS.
Diffstat (limited to 'graphics/ee/Makefile')
-rw-r--r--graphics/ee/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/graphics/ee/Makefile b/graphics/ee/Makefile
index ec6df212530..84a0e41001a 100644
--- a/graphics/ee/Makefile
+++ b/graphics/ee/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2000/07/31 07:48:37 tron Exp $
+# $NetBSD: Makefile,v 1.17 2000/10/23 17:06:56 jlam Exp $
DISTNAME= ee-0.3.12
CATEGORIES= x11 gnome
@@ -20,5 +20,20 @@ LOCALSTATEDIR= /var/gnome
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
--with-glib-prefix=${LOCALBASE}
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
+CONFIGURE_ENV+= LOCALEBASE=${LOCALEBASE}
+
+PLIST_SUBST+= LOCALEBASE=${LOCALEBASE}
+
+.include "../../mk/bsd.prefs.mk"
+
+# The directory in which locale files are found is:
+#
+# ${PREFIX}/${LOCALEBASE}/locale/<lang>/LC_MESSAGES
+#
+.if ${OPSYS} == "SunOS"
+LOCALEBASE= lib
+.else
+LOCALEBASE= share
+.endif
.include "../../mk/bsd.pkg.mk"