pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05db05f4757c
branches:  trunk
changeset: 532399:05db05f4757c
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Aug 17 23:10:19 2007 +0000

description:
Add DESTDIR support

diffstat:

 editors/ssam/Makefile         |   3 ++-
 editors/ssam/distinfo         |   4 ++--
 editors/ssam/patches/patch-aa |  20 +++++++++++++++++---
 3 files changed, 21 insertions(+), 6 deletions(-)

diffs (65 lines):

diff -r 1140d55e8864 -r 05db05f4757c editors/ssam/Makefile
--- a/editors/ssam/Makefile     Fri Aug 17 22:55:52 2007 +0000
+++ b/editors/ssam/Makefile     Fri Aug 17 23:10:19 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/04/30 08:54:59 agc Exp $
+# $NetBSD: Makefile,v 1.17 2007/08/17 23:10:19 agc Exp $
 #
 
 DISTNAME=      ssam-1.9
@@ -12,6 +12,7 @@
 
 GNU_CONFIGURE= yes
 BUILD_TARGET=  tst
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 .include "../../misc/libutf/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1140d55e8864 -r 05db05f4757c editors/ssam/distinfo
--- a/editors/ssam/distinfo     Fri Aug 17 22:55:52 2007 +0000
+++ b/editors/ssam/distinfo     Fri Aug 17 23:10:19 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2007/04/18 18:18:24 joerg Exp $
+$NetBSD: distinfo,v 1.6 2007/08/17 23:10:19 agc Exp $
 
 SHA1 (ssam-1.9.tar.gz) = 6fee1e64d3cbf6bef72fe60798cc8ad7eab9260e
 RMD160 (ssam-1.9.tar.gz) = 378f838fad503693caec5ec3e699d08fc3b7e9eb
 Size (ssam-1.9.tar.gz) = 41186 bytes
-SHA1 (patch-aa) = 63872a665c11feaa03567115a64888f973c77c3e
+SHA1 (patch-aa) = 3760ac907bd59ae5736cc3c6fceae02164582f00
 SHA1 (patch-ab) = 7ea16aa146e9a68d1b921a56fb80dc968df140f3
 SHA1 (patch-ac) = 14536f279e719d9a43e4c9ca1f9367d8909e39bf
diff -r 1140d55e8864 -r 05db05f4757c editors/ssam/patches/patch-aa
--- a/editors/ssam/patches/patch-aa     Fri Aug 17 22:55:52 2007 +0000
+++ b/editors/ssam/patches/patch-aa     Fri Aug 17 23:10:19 2007 +0000
@@ -1,9 +1,10 @@
-$NetBSD: patch-aa,v 1.1 1998/09/16 09:05:27 agc Exp $
+$NetBSD: patch-aa,v 1.2 2007/08/17 23:10:19 agc Exp $
 
 Use LDFLAGS when linking, just in case we're ELF.
+Add DESTDIR support
 
---- Makefile.in        1998/09/16 08:48:04     1.1
-+++ Makefile.in        1998/09/16 08:48:10
+--- Makefile.in.orig   1997-10-21 09:28:16.000000000 +0100
++++ Makefile.in        2007-08-17 23:58:38.000000000 +0100
 @@ -22,7 +22,7 @@
  RANLIB= @RANLIB@
  
@@ -13,3 +14,16 @@
  
  tst: $(EXE)
        test -d tests || ln -s $(srcdir)/tests .
+@@ -171,9 +171,9 @@
+       rm -f config.cache config.log config.status Makefile config.h
+ 
+ install:
+-      $(srcdir)/mkinstalldirs $(BINDIR) $(MANDIR)/man1/
+-      $(INSTALL) ssam $(BINDIR)
+-      $(INSTALL_DATA) $(srcdir)/ssam.1 $(MANDIR)/man1/
++      $(srcdir)/mkinstalldirs ${DESTDIR}$(BINDIR) ${DESTDIR}$(MANDIR)/man1/
++      $(INSTALL) ssam ${DESTDIR}$(BINDIR)
++      $(INSTALL_DATA) $(srcdir)/ssam.1 ${DESTDIR}$(MANDIR)/man1/
+ 
+ ci:
+       ci -l ssam.c main.c agc.h ssam.h config.h.in Makefile.in configure.in ssam.1



Home | Main Index | Thread Index | Old Index