pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/wily Add DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/963c62975c1c
branches:  trunk
changeset: 532402:963c62975c1c
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Aug 17 23:46:17 2007 +0000

description:
Add DESTDIR support

diffstat:

 editors/wily/Makefile         |   3 ++-
 editors/wily/distinfo         |   6 +++---
 editors/wily/patches/patch-aa |  11 ++++++-----
 editors/wily/patches/patch-ab |  13 ++++++++++---
 4 files changed, 21 insertions(+), 12 deletions(-)

diffs (78 lines):

diff -r ea6027b86a2e -r 963c62975c1c editors/wily/Makefile
--- a/editors/wily/Makefile     Fri Aug 17 23:25:16 2007 +0000
+++ b/editors/wily/Makefile     Fri Aug 17 23:46:17 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/02/22 19:01:18 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2007/08/17 23:46:17 agc Exp $
 #
 
 DISTNAME=      wily-0.13.41
@@ -13,6 +13,7 @@
 
 GNU_CONFIGURE= yes
 CONFIGURE_HAS_MANDIR=  no
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 DEPENDS+=      libXgFonts>=1.0nb1:../../fonts/Xg
 
diff -r ea6027b86a2e -r 963c62975c1c editors/wily/distinfo
--- a/editors/wily/distinfo     Fri Aug 17 23:25:16 2007 +0000
+++ b/editors/wily/distinfo     Fri Aug 17 23:46:17 2007 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 17:15:13 agc Exp $
+$NetBSD: distinfo,v 1.4 2007/08/17 23:46:18 agc Exp $
 
 SHA1 (wily-0.13.41.tgz) = 2d6c6dfbda2c7b7b37181aaac20b02f8954c69ee
 RMD160 (wily-0.13.41.tgz) = 970e6b90b1093ce1c8bad535aff9db90200763e6
 Size (wily-0.13.41.tgz) = 483429 bytes
-SHA1 (patch-aa) = 55be9c5a89e471f853d2c0f5090392d0d9de30cd
-SHA1 (patch-ab) = c4a7788468c6ca6a7abae7f0b195c1980e22968e
+SHA1 (patch-aa) = 5308659dd6b0100124f7a34dea425dc2161d6c61
+SHA1 (patch-ab) = a8076717ebafc3dbc66a838b9b9c9d4a62feaad2
diff -r ea6027b86a2e -r 963c62975c1c editors/wily/patches/patch-aa
--- a/editors/wily/patches/patch-aa     Fri Aug 17 23:25:16 2007 +0000
+++ b/editors/wily/patches/patch-aa     Fri Aug 17 23:46:17 2007 +0000
@@ -1,12 +1,13 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:19 agc Exp $
+$NetBSD: patch-aa,v 1.3 2007/08/17 23:46:18 agc Exp $
 
---- Makefile.in        1997/10/24 08:47:31     1.1
-+++ Makefile.in        1997/10/24 08:49:03
-@@ -17,6 +17,7 @@
+--- Makefile.in.orig   1997-05-03 07:37:17.000000000 +0100
++++ Makefile.in        2007-08-18 00:31:59.000000000 +0100
+@@ -17,6 +17,8 @@
  
  install:      all
        cd wily; $(MAKE) $(MFLAGS) install
-+      @INSTALL@ -m 0444 Doc/old/wily.1 ${PREFIX}/man/man1
++      @INSTALL@ -d 0755 ${DESTDIR}${PREFIX}/man/man1
++      @INSTALL@ -m 0444 Doc/old/wily.1 ${DESTDIR}${PREFIX}/man/man1
  clean:
        for i in $(SUBDIRS); do \
                (cd $$i; $(MAKE) $(MFLAGS) $@); \
diff -r ea6027b86a2e -r 963c62975c1c editors/wily/patches/patch-ab
--- a/editors/wily/patches/patch-ab     Fri Aug 17 23:25:16 2007 +0000
+++ b/editors/wily/patches/patch-ab     Fri Aug 17 23:46:17 2007 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 11:11:20 agc Exp $
+$NetBSD: patch-ab,v 1.3 2007/08/17 23:46:18 agc Exp $
 
---- wily/Makefile.in.orig      Fri Jun 20 11:58:06 1997
-+++ wily/Makefile.in   Tue Aug  4 21:54:46 1998
+--- wily/Makefile.in.orig      1997-06-20 10:58:06.000000000 +0100
++++ wily/Makefile.in   2007-08-18 00:33:21.000000000 +0100
 @@ -23,7 +23,7 @@
        sam.o text.o click.o tile.o search.o
  
@@ -11,3 +11,10 @@
  all: $(TARGET)
  $(TARGET): $(OBJECTS) $(MYLIBS)
        $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(MYLIBS) $(XLIBS)
+@@ -47,4 +47,5 @@
+ dist: nuke
+       cp -r `ls |grep -v RCS` ../dist/wily
+ install:      $(TARGET)
+-      cp $(TARGET) $(bindir)
++      mkdir -p ${DESTDIR}${bindir}
++      cp $(TARGET) ${DESTDIR}$(bindir)



Home | Main Index | Thread Index | Old Index