pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/lrzsz Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a88c9b380bb
branches:  trunk
changeset: 398320:4a88c9b380bb
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 29 11:33:14 2009 +0000

description:
Convert to user-destdir.

diffstat:

 comms/lrzsz/Makefile         |   4 +++-
 comms/lrzsz/distinfo         |   3 ++-
 comms/lrzsz/patches/patch-ac |  25 +++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)

diffs (60 lines):

diff -r 21bee1c5a9e8 -r 4a88c9b380bb comms/lrzsz/Makefile
--- a/comms/lrzsz/Makefile      Sat Aug 29 11:27:42 2009 +0000
+++ b/comms/lrzsz/Makefile      Sat Aug 29 11:33:14 2009 +0000
@@ -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 @@
 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 -r 21bee1c5a9e8 -r 4a88c9b380bb comms/lrzsz/distinfo
--- a/comms/lrzsz/distinfo      Sat Aug 29 11:27:42 2009 +0000
+++ b/comms/lrzsz/distinfo      Sat Aug 29 11:33:14 2009 +0000
@@ -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 -r 21bee1c5a9e8 -r 4a88c9b380bb comms/lrzsz/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/lrzsz/patches/patch-ac      Sat Aug 29 11:33:14 2009 +0000
@@ -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; \



Home | Main Index | Thread Index | Old Index