diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-16 18:29:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-16 18:29:53 +0000 |
commit | fee7c16e0e0ef8ee886c817f34b5e1ed3ef9714a (patch) | |
tree | c768a982e681902537137779ede869748d6ea49f /misc | |
parent | 7dfa53d3a617a5dbd19e1a0f012110ae9571323c (diff) | |
download | pkgsrc-fee7c16e0e0ef8ee886c817f34b5e1ed3ef9714a.tar.gz |
DESTDIR support.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gone/Makefile | 6 | ||||
-rw-r--r-- | misc/gone/distinfo | 3 | ||||
-rw-r--r-- | misc/gone/patches/patch-ab | 16 |
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 |