summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/lrzsz/Makefile12
-rw-r--r--comms/lrzsz/PLIST4
2 files changed, 13 insertions, 3 deletions
diff --git a/comms/lrzsz/Makefile b/comms/lrzsz/Makefile
index 0c6589f25e5..f36eb6cc1ca 100644
--- a/comms/lrzsz/Makefile
+++ b/comms/lrzsz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/11/30 13:36:14 salo Exp $
+# $NetBSD: Makefile,v 1.11 2002/12/02 01:52:48 salo Exp $
# FreeBSD Id: Makefile,v 1.5 1997/10/10 06:53:29 obrien Exp
DISTNAME= lrzsz-0.12.20
@@ -14,4 +14,14 @@ USE_PKGLOCALEDIR= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-catgets
+.include "../../mk/bsd.prefs.mk"
+
+.ifdef (${OPSYS} == "SunOS")
+LOCALE_SUFFIX= mo
+.else
+LOCALE_SUFFIX= cat
+.endif
+
+PLIST_SUBST+= LOCALE_SUFFIX=${LOCALE_SUFFIX}
+
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/lrzsz/PLIST b/comms/lrzsz/PLIST
index c1073e21479..141adbd0d2a 100644
--- a/comms/lrzsz/PLIST
+++ b/comms/lrzsz/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/11/30 13:36:14 salo Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/12/02 01:52:48 salo Exp $
bin/lrz
bin/lrx
bin/lrb
@@ -7,4 +7,4 @@ bin/lsx
bin/lsb
man/man1/lrz.1
man/man1/lsz.1
-${PKGLOCALEDIR}/locale/de/LC_MESSAGES/lrzsz.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/lrzsz.${LOCALE_SUFFIX}