summaryrefslogtreecommitdiff
path: root/sysutils/crashme
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2007-08-31 21:48:37 +0000
committeragc <agc@pkgsrc.org>2007-08-31 21:48:37 +0000
commitd287d54e2f37820c921ccb82ec0aca2450ae6d14 (patch)
tree7dd206d7f9f200587d6ea03deedd2c2b4d49a08b /sysutils/crashme
parentdee53130b9048133d76e349d585e7d6c7ce08c48 (diff)
downloadpkgsrc-d287d54e2f37820c921ccb82ec0aca2450ae6d14.tar.gz
Add DESTDIR support
Diffstat (limited to 'sysutils/crashme')
-rw-r--r--sysutils/crashme/Makefile9
-rw-r--r--sysutils/crashme/PLIST4
-rw-r--r--sysutils/crashme/distinfo4
-rw-r--r--sysutils/crashme/patches/patch-aa12
4 files changed, 16 insertions, 13 deletions
diff --git a/sysutils/crashme/Makefile b/sysutils/crashme/Makefile
index 858775cc096..e792c12ace5 100644
--- a/sysutils/crashme/Makefile
+++ b/sysutils/crashme/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.18 2007/02/22 19:27:11 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2007/08/31 21:48:37 agc Exp $
#
-DISTNAME= crashme-2.4
+DISTNAME= crashme-2.4
CATEGORIES= sysutils
-MASTER_SITES= http://ochimizu-www.jaist.ac.jp:8000/linux/vger/crashme/
+MASTER_SITES= http://ochimizu-www.jaist.ac.jp:8000/linux/vger/crashme/
EXTRACT_SUFX= -shar
MAINTAINER= agc@NetBSD.org
@@ -11,6 +11,9 @@ HOMEPAGE= http://people.delphi.com/gjc/crashme.html
COMMENT= Try to crash machine with random arguments to random system calls
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1
EXTRACT_OPTS= -f shar
MAKE_FILE= makefile
diff --git a/sysutils/crashme/PLIST b/sysutils/crashme/PLIST
index 999612f28cd..ff245fd0a7c 100644
--- a/sysutils/crashme/PLIST
+++ b/sysutils/crashme/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:53:01 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/08/31 21:48:37 agc Exp $
sbin/crashme
sbin/pddet
-man/man1/crashme.1
+${PKGMANDIR}/man1/crashme.1
diff --git a/sysutils/crashme/distinfo b/sysutils/crashme/distinfo
index 422f3da8987..6b0bbe77167 100644
--- a/sysutils/crashme/distinfo
+++ b/sysutils/crashme/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 13:40:51 agc Exp $
+$NetBSD: distinfo,v 1.6 2007/08/31 21:48:37 agc Exp $
SHA1 (crashme-2.4-shar) = 0648322959634f21e61a5d5e1b308e3c89dc2841
RMD160 (crashme-2.4-shar) = 0a4252a7b03bddad60cd522565142279d18f91b8
Size (crashme-2.4-shar) = 57010 bytes
-SHA1 (patch-aa) = 01f981d1ac274bf00ba8d5f9ddcad8aeeaf3dffb
+SHA1 (patch-aa) = 7622912fe3e231af05fe9073e3cd7bd1e82d3951
SHA1 (patch-ab) = 2dc1213fe4621b947a9ce8d589925a9bd83653e0
diff --git a/sysutils/crashme/patches/patch-aa b/sysutils/crashme/patches/patch-aa
index fe62725676f..10b8af9a015 100644
--- a/sysutils/crashme/patches/patch-aa
+++ b/sysutils/crashme/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.5 2004/02/08 12:58:55 grant Exp $
+$NetBSD: patch-aa,v 1.6 2007/08/31 21:48:37 agc Exp $
---- makefile.orig 2004-02-08 23:56:35.000000000 +1100
-+++ makefile
+--- makefile.orig 2007-08-31 12:15:01.000000000 +0100
++++ makefile 2007-08-31 12:16:47.000000000 +0100
@@ -1,12 +1,17 @@
all: crashme pddet
@@ -21,6 +21,6 @@ $NetBSD: patch-aa,v 1.5 2004/02/08 12:58:55 grant Exp $
+
+install: crashme pddet
-+ ${INSTALL} -c -m 0755 crashme ${PREFIX}/sbin/crashme
-+ ${INSTALL} -c -m 0755 pddet ${PREFIX}/sbin/pddet
-+ ${INSTALL} -c -m 0444 crashme.1 ${PREFIX}/man/man1
++ ${BSD_INSTALL_PROGRAM} crashme ${DESTDIR}${PREFIX}/sbin/crashme
++ ${BSD_INSTALL_PROGRAM} pddet ${DESTDIR}${PREFIX}/sbin/pddet
++ ${BSD_INSTALL_MAN} crashme.1 ${DESTDIR}${PREFIX}/man/man1