diff options
author | wiz <wiz> | 2009-08-29 11:33:14 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-08-29 11:33:14 +0000 |
commit | 3f98720bbc3b761d0c3e9e3aff76a03c5a90b450 (patch) | |
tree | 41f82b7bdcaa830f34ae9f9ea00ef68b4533b903 | |
parent | 86540c62799eec20a37b2e12b922f6eff7a6163f (diff) | |
download | pkgsrc-3f98720bbc3b761d0c3e9e3aff76a03c5a90b450.tar.gz |
Convert to user-destdir.
-rw-r--r-- | comms/lrzsz/Makefile | 4 | ||||
-rw-r--r-- | comms/lrzsz/distinfo | 3 | ||||
-rw-r--r-- | comms/lrzsz/patches/patch-ac | 25 |
3 files changed, 30 insertions, 2 deletions
diff --git a/comms/lrzsz/Makefile b/comms/lrzsz/Makefile index 284dce5c58b..7701ef7a467 100644 --- a/comms/lrzsz/Makefile +++ b/comms/lrzsz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2007/06/08 13:55:41 obache Exp $ +# $NetBSD: Makefile,v 1.26 2009/08/29 11:33:14 wiz Exp $ DISTNAME= lrzsz-0.12.20 CATEGORIES= comms @@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.ohse.de/uwe/software/lrzsz.html COMMENT= Receive/Send files via X/Y/ZMODEM protocol. (unrestrictive) +PKG_DESTDIR_SUPPORT= user-destdir + PKG_INSTALLATION_TYPES= overwrite pkgviews USE_PKGLOCALEDIR= yes diff --git a/comms/lrzsz/distinfo b/comms/lrzsz/distinfo index a3d58c487b0..455967ec91b 100644 --- a/comms/lrzsz/distinfo +++ b/comms/lrzsz/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 16:05:30 agc Exp $ +$NetBSD: distinfo,v 1.4 2009/08/29 11:33:14 wiz Exp $ SHA1 (lrzsz-0.12.20.tar.gz) = 451e6a1813dfb71a412c973acd1b88b9ee3f28c4 RMD160 (lrzsz-0.12.20.tar.gz) = 1b1776143afaff8bc7447ce998f9d3a958d51f25 Size (lrzsz-0.12.20.tar.gz) = 280938 bytes SHA1 (patch-aa) = aaf33281da19658906eee6a922397968a200f186 SHA1 (patch-ab) = 273f343a3e4ca8190ae4ab52483600f7bcf8e404 +SHA1 (patch-ac) = a224a77a6d9581c601a50ebe9153e6ad25c8601b diff --git a/comms/lrzsz/patches/patch-ac b/comms/lrzsz/patches/patch-ac new file mode 100644 index 00000000000..c838a8c2766 --- /dev/null +++ b/comms/lrzsz/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.1 2009/08/29 11:33:14 wiz Exp $ + +--- po/Makefile.in.in.orig 1998-04-26 13:22:40.000000000 +0000 ++++ po/Makefile.in.in +@@ -110,16 +110,16 @@ install-data: install-data-@USE_NLS@ + install-data-no: all + install-data-yes: all + if test -r $(MKINSTALLDIRS); then \ +- $(MKINSTALLDIRS) $(datadir); \ ++ $(MKINSTALLDIRS) ${DESTDIR}/$(datadir); \ + else \ +- $(top_srcdir)/mkinstalldirs $(datadir); \ ++ $(top_srcdir)/mkinstalldirs ${DESTDIR}/$(datadir); \ + fi + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + case "$$cat" in \ +- *.gmo) destdir=$(gnulocaledir);; \ +- *) destdir=$(localedir);; \ ++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \ ++ *) destdir=${DESTDIR}$(localedir);; \ + esac; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + dir=$$destdir/$$lang/LC_MESSAGES; \ |