summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2007-08-17 23:10:19 +0000
committeragc <agc@pkgsrc.org>2007-08-17 23:10:19 +0000
commitc152d86dad4e2c62f16e1edf5844687f4f203704 (patch)
tree32ec37c2ad50f0828c3e9a4d0e8d066a60c7fa8f /editors
parent3a42a92c1bac88e622c8b5b14fac6d94064488ca (diff)
downloadpkgsrc-c152d86dad4e2c62f16e1edf5844687f4f203704.tar.gz
Add DESTDIR support
Diffstat (limited to 'editors')
-rw-r--r--editors/ssam/Makefile3
-rw-r--r--editors/ssam/distinfo4
-rw-r--r--editors/ssam/patches/patch-aa20
3 files changed, 21 insertions, 6 deletions
diff --git a/editors/ssam/Makefile b/editors/ssam/Makefile
index 5c185339e54..6787f2459ad 100644
--- a/editors/ssam/Makefile
+++ b/editors/ssam/Makefile
@@ -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 @@ COMMENT= UTF-8-aware stream editor like sed(1), using the sam command set
GNU_CONFIGURE= yes
BUILD_TARGET= tst
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../misc/libutf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/ssam/distinfo b/editors/ssam/distinfo
index a05d9829a5e..5229b4f6fa1 100644
--- a/editors/ssam/distinfo
+++ b/editors/ssam/distinfo
@@ -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 --git a/editors/ssam/patches/patch-aa b/editors/ssam/patches/patch-aa
index 4d1a461f575..ef037b8106b 100644
--- a/editors/ssam/patches/patch-aa
+++ b/editors/ssam/patches/patch-aa
@@ -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 @@ Use LDFLAGS when linking, just in case we're ELF.
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