summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 20:19:36 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 20:19:36 +0000
commit84ac22cddf689207bab11408d7d7f9a0e909f8b6 (patch)
tree4b501686cace75cca77135cd1554daf59bf7559a /sysutils
parent9dd6ba758eeb9d583568032b5a52345af721c0c6 (diff)
downloadpkgsrc-84ac22cddf689207bab11408d7d7f9a0e909f8b6.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tcx/Makefile7
-rw-r--r--sysutils/tcx/distinfo4
-rw-r--r--sysutils/tcx/patches/patch-aa9
-rw-r--r--sysutils/tkcron/Makefile6
-rw-r--r--sysutils/tload/Makefile8
5 files changed, 21 insertions, 13 deletions
diff --git a/sysutils/tcx/Makefile b/sysutils/tcx/Makefile
index 27028a398e7..6a849356e95 100644
--- a/sysutils/tcx/Makefile
+++ b/sysutils/tcx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/03/04 21:30:43 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2010/01/27 20:19:36 joerg Exp $
DISTNAME= tcx-linux
PKGNAME= tcx-19940124
@@ -9,6 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE=
COMMENT= Transparently compress executables
+PKG_DESTDIR_SUPPORT= user-destdir
+SPECIAL_PERMS+= bin/untcx ${SETUID_ROOT_PERMS}
+
+INSTALLATION_DIRS+= bin
+
WRKSRC= ${WRKDIR}/tcx
post-patch:
diff --git a/sysutils/tcx/distinfo b/sysutils/tcx/distinfo
index 828ad81f3d4..e50a0a803ba 100644
--- a/sysutils/tcx/distinfo
+++ b/sysutils/tcx/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2005/11/10 16:30:04 joerg Exp $
+$NetBSD: distinfo,v 1.5 2010/01/27 20:19:36 joerg Exp $
SHA1 (tcx-linux.tar.gz) = 73c112fc39cbfb794fe0f6b0d2e15739ee1c9f5a
RMD160 (tcx-linux.tar.gz) = e331acb338582391909d39fbe69f252370b81abc
Size (tcx-linux.tar.gz) = 21028 bytes
-SHA1 (patch-aa) = 2e03b68d4c4ed05757fe788649eede461a11a4e5
+SHA1 (patch-aa) = ee2bd5713af9473925d6fa775074c1e4d4bcf2fe
SHA1 (patch-ab) = 5e7e7247783090e3029504f80440b6faebe1d1dd
SHA1 (patch-ac) = 793c6dc9d706cf8ccf3bbed6f5c285661b104241
SHA1 (patch-ad) = 5d78624ca3bad845bc952dc09cb802bf6dc30131
diff --git a/sysutils/tcx/patches/patch-aa b/sysutils/tcx/patches/patch-aa
index 920e08a5b90..a3d94c22d03 100644
--- a/sysutils/tcx/patches/patch-aa
+++ b/sysutils/tcx/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/06/23 13:55:24 agc Exp $
+$NetBSD: patch-aa,v 1.2 2010/01/27 20:19:36 joerg Exp $
--- Makefile 2003/05/19 15:39:04 1.1
+++ Makefile 2003/05/19 16:01:40
@@ -16,7 +16,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/06/23 13:55:24 agc Exp $
# Any libraries
-@@ -29,4 +29,9 @@
+@@ -29,4 +29,8 @@
shar -c -l 45 -o tcx README VERSION COPYING Makefile tcx.1 untcx.1 tcx.c config.h untcx.c
clean:
@@ -24,6 +24,5 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/06/23 13:55:24 agc Exp $
+ rm -f *.o tcx untcx
+
+install:
-+ ${BSD_INSTALL_PROGRAM} tcx ${PREFIX}/bin
-+ ${BSD_INSTALL_PROGRAM} untcx ${PREFIX}/bin
-+ chmod 4755 ${PREFIX}/bin/untcx
++ ${BSD_INSTALL_PROGRAM} tcx ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_PROGRAM} untcx ${DESTDIR}${PREFIX}/bin
diff --git a/sysutils/tkcron/Makefile b/sysutils/tkcron/Makefile
index cf8956e4ba2..658b8801dee 100644
--- a/sysutils/tkcron/Makefile
+++ b/sysutils/tkcron/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/02/15 14:47:20 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2010/01/27 20:20:06 joerg Exp $
#
DISTNAME= tkcron-2.12
@@ -10,6 +10,8 @@ EXTRACT_SUFX= .tcl.gz
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Graphical frontend to crontab
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= tk>=8.3.2:../../x11/tk
WRKSRC= ${WRKDIR}
@@ -21,6 +23,6 @@ do-build:
${SED} -e "\:/usr/local/bin/wish: s;;${LOCALBASE}/bin/wish;g" ${WRKSRC}/tkcron.tcl > ${WRKSRC}/tkcron
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/tkcron ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkcron ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/tload/Makefile b/sysutils/tload/Makefile
index da03306abff..ed138847ca9 100644
--- a/sysutils/tload/Makefile
+++ b/sysutils/tload/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/07 09:14:13 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2010/01/27 20:20:53 joerg Exp $
#
DISTNAME= procps-2.0.6
@@ -10,6 +10,8 @@ MASTER_SITES= ftp://people.redhat.com/johnsonm/procps/
MAINTAINER= hubertf@NetBSD.org
COMMENT= Terminal version of xload
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-build:
@@ -17,7 +19,7 @@ do-build:
${CC} ${CFLAGS} tload.c -o tload
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tload ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/tload.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/tload ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tload.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"