summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-16 18:29:53 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-16 18:29:53 +0000
commitfee7c16e0e0ef8ee886c817f34b5e1ed3ef9714a (patch)
treec768a982e681902537137779ede869748d6ea49f
parent7dfa53d3a617a5dbd19e1a0f012110ae9571323c (diff)
downloadpkgsrc-fee7c16e0e0ef8ee886c817f34b5e1ed3ef9714a.tar.gz
DESTDIR support.
-rw-r--r--chat/epic4/Makefile6
-rw-r--r--misc/gone/Makefile6
-rw-r--r--misc/gone/distinfo3
-rw-r--r--misc/gone/patches/patch-ab16
4 files changed, 28 insertions, 3 deletions
diff --git a/chat/epic4/Makefile b/chat/epic4/Makefile
index b0d482bf68f..95dd729bb3d 100644
--- a/chat/epic4/Makefile
+++ b/chat/epic4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2008/01/18 05:06:23 tnn Exp $
+# $NetBSD: Makefile,v 1.29 2009/02/16 18:37:04 joerg Exp $
#
DISTNAME= epic4-2.2
@@ -15,11 +15,15 @@ MASTER_SITES= ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/ \
ftp://ftp.nl.uu.net/pub/unix/irc/epic/EPIC4-PRODUCTION/
EXTRACT_SUFX= .tar.bz2
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://www.epicsol.org/
COMMENT= The (E)nhanced (P)rogrammable (I)RC-II (C)lient
GNU_CONFIGURE= YES
+INSTALL_MAKE_FLAGS+= IP=${DESTDIR}
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
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