summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-16 18:29:53 +0000
committerjoerg <joerg>2009-02-16 18:29:53 +0000
commit52c09ef9af8ef35cac0744d8edd7e9c564d22e34 (patch)
treec768a982e681902537137779ede869748d6ea49f /misc
parente49b350f52a9c2ef302e897df53ac3b9f7502f45 (diff)
downloadpkgsrc-52c09ef9af8ef35cac0744d8edd7e9c564d22e34.tar.gz
DESTDIR support.
Diffstat (limited to 'misc')
-rw-r--r--misc/gone/Makefile6
-rw-r--r--misc/gone/distinfo3
-rw-r--r--misc/gone/patches/patch-ab16
3 files changed, 23 insertions, 2 deletions
diff --git a/misc/gone/Makefile b/misc/gone/Makefile
index 8af82f7d870..fdd167c07f8 100644
--- a/misc/gone/Makefile
+++ b/misc/gone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/12/05 20:50:39 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2009/02/16 18:29:53 joerg Exp $
#
DISTNAME= gone-1.3.5
@@ -9,7 +9,11 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://jaguar.ir.miami.edu/~marcus/
COMMENT= Terminal locking utility with many improvements over lock(1)
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ENV+= with_setuid=no
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/gone/distinfo b/misc/gone/distinfo
index 12961ba07fe..707fe390a52 100644
--- a/misc/gone/distinfo
+++ b/misc/gone/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2005/11/10 17:56:49 joerg Exp $
+$NetBSD: distinfo,v 1.8 2009/02/16 18:29:53 joerg Exp $
SHA1 (gone-1.3.5.tar.gz) = 59ce0a7b71dc5a71c4864c060cef1bba67ee053f
RMD160 (gone-1.3.5.tar.gz) = 269e4316592645b2acbfe3b25fbee378312601a9
Size (gone-1.3.5.tar.gz) = 23800 bytes
SHA1 (patch-aa) = 614b5a5a8fac377725b1532d4466f42c5387cfab
+SHA1 (patch-ab) = 80f11d24faa5004e7ccb63e5a92d9c7ffca3b6a8
diff --git a/misc/gone/patches/patch-ab b/misc/gone/patches/patch-ab
new file mode 100644
index 00000000000..e7b2a097081
--- /dev/null
+++ b/misc/gone/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2009/02/16 18:29:53 joerg Exp $
+
+--- Makefile.in.orig 2009-02-16 19:26:13.000000000 +0100
++++ Makefile.in
+@@ -44,9 +44,8 @@ gone.1:
+ -e s+_BINPATH_+${binpath}+g gone.man > gone.${manext}
+
+ install: gone gone.1
+- strip ${srcdir}/gone
+- ${INSTALL_PROGRAM} gone ${bindir}/gone
+- -${INSTALL_DATA} ${srcdir}/gone.${manext} ${mandir}/gone.${manext}
++ ${INSTALL_PROGRAM} gone ${DESTDIR}${bindir}/gone
++ ${INSTALL_DATA} ${srcdir}/gone.${manext} ${DESTDIR}${mandir}/gone.${manext}
+
+ gone.o: gone.c config.h Makefile
+ ${CC} -c ${CFLAGS} gone.c