pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/urlview DESTDIR support. It is amazing how de...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33c85c210414
branches:  trunk
changeset: 521240:33c85c210414
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Nov 07 09:31:42 2006 +0000

description:
DESTDIR support. It is amazing how developers break features of automake
by not using the mechanisms automake already provides.

diffstat:

 textproc/urlview/Makefile         |   6 +++++-
 textproc/urlview/distinfo         |   3 ++-
 textproc/urlview/patches/patch-aa |  13 +++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r e132162f6d67 -r 33c85c210414 textproc/urlview/Makefile
--- a/textproc/urlview/Makefile Tue Nov 07 09:30:16 2006 +0000
+++ b/textproc/urlview/Makefile Tue Nov 07 09:31:42 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/04/11 21:47:43 tv Exp $
+# $NetBSD: Makefile,v 1.14 2006/11/07 09:31:42 joerg Exp $
 
 DISTNAME=      urlview-0.9
 PKGREVISION=   2
@@ -11,6 +11,10 @@
 MAINTAINER=    tron%NetBSD.org@localhost
 COMMENT=       Extract URLs from text files and display them in a menu
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
+
 GNU_CONFIGURE= yes
 
 .include "../../devel/ncurses/buildlink3.mk"
diff -r e132162f6d67 -r 33c85c210414 textproc/urlview/distinfo
--- a/textproc/urlview/distinfo Tue Nov 07 09:30:16 2006 +0000
+++ b/textproc/urlview/distinfo Tue Nov 07 09:31:42 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:48:50 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/11/07 09:31:42 joerg Exp $
 
 SHA1 (urlview-0.9.tar.gz) = e366312a7dd04eb38909a36f854c502fbe81f4be
 RMD160 (urlview-0.9.tar.gz) = eafefdc7f1fe06f3f45a3f2a694c42dd833a178e
 Size (urlview-0.9.tar.gz) = 46685 bytes
+SHA1 (patch-aa) = 59f2bcf9c980e839f344b31b410bba49e22db859
diff -r e132162f6d67 -r 33c85c210414 textproc/urlview/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/urlview/patches/patch-aa Tue Nov 07 09:31:42 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2006/11/07 09:31:42 joerg Exp $
+
+--- Makefile.in.orig   2006-11-07 08:45:57.000000000 +0000
++++ Makefile.in
+@@ -318,7 +318,7 @@ maintainer-clean-generic clean mostlycle
+ 
+ 
+ install-data-local:
+-      $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1
++      $(INSTALL_DATA) urlview.man ${DESTDIR}$(mandir)/man1/urlview.1
+ 
+ # how to create a target for uninstall-data-local???
+ 



Home | Main Index | Thread Index | Old Index