pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/loco DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac065eab0814
branches:  trunk
changeset: 555193:ac065eab0814
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Feb 25 20:46:18 2009 +0000

description:
DESTDIR support.

diffstat:

 misc/loco/Makefile         |   4 +++-
 misc/loco/distinfo         |   4 ++--
 misc/loco/patches/patch-aa |  18 +++++++++---------
 3 files changed, 14 insertions(+), 12 deletions(-)

diffs (70 lines):

diff -r 294c61480b3d -r ac065eab0814 misc/loco/Makefile
--- a/misc/loco/Makefile        Wed Feb 25 20:39:20 2009 +0000
+++ b/misc/loco/Makefile        Wed Feb 25 20:46:18 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/07/16 01:19:14 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2009/02/25 20:46:18 joerg Exp $
 #
 
 DISTNAME=      loco-0.32
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://zjuul.net/~jules/loco/
 COMMENT=       Colorize file or standard input and print on the standard output
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    perl:run
 REPLACE_PERL=  loco
 
diff -r 294c61480b3d -r ac065eab0814 misc/loco/distinfo
--- a/misc/loco/distinfo        Wed Feb 25 20:39:20 2009 +0000
+++ b/misc/loco/distinfo        Wed Feb 25 20:46:18 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:02:55 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/02/25 20:46:18 joerg Exp $
 
 SHA1 (loco-0.32.tar.gz) = b582820fcc6b7ff264c4df2ceb6fe17c286af1bb
 RMD160 (loco-0.32.tar.gz) = 2927f382999292874ab7f9d684aa0ec19ac9410d
 Size (loco-0.32.tar.gz) = 3913 bytes
-SHA1 (patch-aa) = dd7924b9589ed84802fd90ac0b7475c9cfe39780
+SHA1 (patch-aa) = a89db1bbebbeacbaa553747d8b62671c888045fa
diff -r 294c61480b3d -r ac065eab0814 misc/loco/patches/patch-aa
--- a/misc/loco/patches/patch-aa        Wed Feb 25 20:39:20 2009 +0000
+++ b/misc/loco/patches/patch-aa        Wed Feb 25 20:46:18 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/03/12 10:08:25 zuntum Exp $
+$NetBSD: patch-aa,v 1.2 2009/02/25 20:46:18 joerg Exp $
 
 --- Makefile.orig      Thu Jan  4 22:22:16 2001
 +++ Makefile
@@ -28,22 +28,22 @@
 -      install -m 644 $(PACKAGE).html $(DOCDIR)
 -      install -m 644 README $(DOCDIR)
 -      install -m 644 COPYRIGHT $(DOCDIR)
-+      $(BSD_INSTALL_DATA_DIR) $(DOCDIR)
-+      $(BSD_INSTALL_DATA) $(PACKAGE).html $(DOCDIR)
-+      $(BSD_INSTALL_DATA) README $(DOCDIR)
-+      $(BSD_INSTALL_DATA) COPYRIGHT $(DOCDIR)
++      $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(DOCDIR)
++      $(BSD_INSTALL_DATA) $(PACKAGE).html ${DESTDIR}$(DOCDIR)
++      $(BSD_INSTALL_DATA) README ${DESTDIR}$(DOCDIR)
++      $(BSD_INSTALL_DATA) COPYRIGHT ${DESTDIR}$(DOCDIR)
  
  installman:
 -      install -m 755 -d $(MANDIR)
 -      install -m 644 $(PACKAGE).1.gz $(MANDIR)
-+      $(BSD_INSTALL_MAN_DIR) $(MANDIR)
-+      $(BSD_INSTALL_MAN) $(PACKAGE).1 $(MANDIR)
++      $(BSD_INSTALL_MAN_DIR) ${DESTDIR}$(MANDIR)
++      $(BSD_INSTALL_MAN) $(PACKAGE).1 ${DESTDIR}$(MANDIR)
  
  installprogram:
 -      install -m 755 -d $(PREFIX)/bin
 -      install -m 755 $(PACKAGE) $(PREFIX)/bin
-+      $(BSD_INSTALL_SCRIPT_DIR) $(PREFIX)/bin
-+      $(BSD_INSTALL_SCRIPT) $(PACKAGE) $(PREFIX)/bin
++      $(BSD_INSTALL_SCRIPT_DIR) ${DESTDIR}$(PREFIX)/bin
++      $(BSD_INSTALL_SCRIPT) $(PACKAGE) ${DESTDIR}$(PREFIX)/bin
  
  clean:
        rm -f *~ $(PACKAGE).1.gz $(PACKAGE).html pod2html-*



Home | Main Index | Thread Index | Old Index