summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorbouyer <bouyer>2000-01-04 18:06:32 +0000
committerbouyer <bouyer>2000-01-04 18:06:32 +0000
commite68ee0045a825a2fd72bdd3fec7b0d194d06c872 (patch)
tree1f427f9efe52d1f27da17e66edb01fa3412d532d /textproc
parent313e204ee4e9b02a0fb053ec5c151bfa17a4f6a0 (diff)
downloadpkgsrc-e68ee0045a825a2fd72bdd3fec7b0d194d06c872.tar.gz
works on solaris
Diffstat (limited to 'textproc')
-rw-r--r--textproc/textutils/Makefile7
-rw-r--r--textproc/textutils/pkg/PLIST28
2 files changed, 20 insertions, 15 deletions
diff --git a/textproc/textutils/Makefile b/textproc/textutils/Makefile
index c6e7d274fab..f5c929632fa 100644
--- a/textproc/textutils/Makefile
+++ b/textproc/textutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/12/16 14:59:12 bouyer Exp $
+# $NetBSD: Makefile,v 1.3 2000/01/04 18:06:32 bouyer Exp $
# FreeBSD Id: ports/textproc/textutils/Makefile,v 1.7 1999/09/18 17:46:30 steve Exp
DISTNAME= textutils-2.0
@@ -18,3 +18,8 @@ post-install:
install-info ${PREFIX}/info/textutils.info ${PREFIX}/info/dir
.include "../../mk/bsd.pkg.mk"
+.if ${OPSYS} == "SunOS"
+PLIST_SUBST+= LOCALEBASE=lib
+.else
+PLIST_SUBST+= LOCALEBASE=share
+.endif
diff --git a/textproc/textutils/pkg/PLIST b/textproc/textutils/pkg/PLIST
index df46442da48..3d7458f54b3 100644
--- a/textproc/textutils/pkg/PLIST
+++ b/textproc/textutils/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 1999/12/16 14:59:13 bouyer Exp $
+@comment $NetBSD: PLIST,v 1.3 2000/01/04 18:06:33 bouyer Exp $
bin/gcat
bin/gcksum
bin/gcomm
@@ -29,16 +29,16 @@ bin/gwc
info/textutils.info
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/textutils.info %D/info/dir
-share/locale/cs/LC_MESSAGES/textutils.mo
-share/locale/de/LC_MESSAGES/textutils.mo
-share/locale/el/LC_MESSAGES/textutils.mo
-share/locale/es/LC_MESSAGES/textutils.mo
-share/locale/fr/LC_MESSAGES/textutils.mo
-share/locale/ko/LC_MESSAGES/textutils.mo
-share/locale/nl/LC_MESSAGES/textutils.mo
-share/locale/no/LC_MESSAGES/textutils.mo
-share/locale/pl/LC_MESSAGES/textutils.mo
-share/locale/ru/LC_MESSAGES/textutils.mo
-share/locale/sk/LC_MESSAGES/textutils.mo
-share/locale/sv/LC_MESSAGES/textutils.mo
-share/locale/zh/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/cs/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/de/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/el/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/es/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/fr/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/ko/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/nl/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/no/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/pl/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/ru/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/sk/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/sv/LC_MESSAGES/textutils.mo
+${LOCALEBASE}/locale/zh/LC_MESSAGES/textutils.mo