diff options
author | salo <salo@pkgsrc.org> | 2002-12-02 01:52:48 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2002-12-02 01:52:48 +0000 |
commit | 9381eece838c75b45ad4dac27f390ccec2af4ecb (patch) | |
tree | 228d40c5e267325afb7d371c9bcd5dcaf2759010 /comms/lrzsz | |
parent | f798cf7601b27a40eaea4430b3683336618b3da8 (diff) | |
download | pkgsrc-9381eece838c75b45ad4dac27f390ccec2af4ecb.tar.gz |
Set OS dependent ${LOCALE_SUFFIX}.
XXX Tested only on NetBSD and Solaris, but nobody complained yet about the
previous setting which was wrong for Solaris.
Diffstat (limited to 'comms/lrzsz')
-rw-r--r-- | comms/lrzsz/Makefile | 12 | ||||
-rw-r--r-- | comms/lrzsz/PLIST | 4 |
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} |