summaryrefslogtreecommitdiff
path: root/sysutils/mktemp
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2009-12-12 23:20:52 +0000
committerasau <asau@pkgsrc.org>2009-12-12 23:20:52 +0000
commit0f347b4a3597814438b53143ad1b6943bf7087e3 (patch)
treea86ff103bf244bd6786c0d06dee2c1da01e5a603 /sysutils/mktemp
parent2e045c8460d0afc39f5bf02631be8fb267713c8b (diff)
downloadpkgsrc-0f347b4a3597814438b53143ad1b6943bf7087e3.tar.gz
Support staged installation.
Diffstat (limited to 'sysutils/mktemp')
-rw-r--r--sysutils/mktemp/Makefile4
-rw-r--r--sysutils/mktemp/distinfo3
-rw-r--r--sysutils/mktemp/patches/patch-ab21
3 files changed, 26 insertions, 2 deletions
diff --git a/sysutils/mktemp/Makefile b/sysutils/mktemp/Makefile
index 71fe2d850d3..839d09cab6f 100644
--- a/sysutils/mktemp/Makefile
+++ b/sysutils/mktemp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2009/05/01 14:48:41 zafer Exp $
+# $NetBSD: Makefile,v 1.8 2009/12/12 23:20:52 asau Exp $
#
DISTNAME= mktemp-1.6
@@ -10,6 +10,8 @@ MAINTAINER= sketch@NetBSD.org
HOMEPAGE= http://www.mktemp.org/
COMMENT= Small program for safe temporary file and directory creation
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/mktemp/distinfo b/sysutils/mktemp/distinfo
index f4ac5ffc8f6..fbe8b31d3d8 100644
--- a/sysutils/mktemp/distinfo
+++ b/sysutils/mktemp/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2008/10/09 12:00:59 sketch Exp $
+$NetBSD: distinfo,v 1.6 2009/12/12 23:20:52 asau Exp $
SHA1 (mktemp-1.6.tar.gz) = 562ee9f2b7033a90196409961c2137917c125838
RMD160 (mktemp-1.6.tar.gz) = f29953ed51fe0f593c7407467ec1b99f24b5813d
Size (mktemp-1.6.tar.gz) = 79154 bytes
+SHA1 (patch-ab) = cc2499cad500853d76cfd8d7840930e6a1364c6e
diff --git a/sysutils/mktemp/patches/patch-ab b/sysutils/mktemp/patches/patch-ab
new file mode 100644
index 00000000000..d92b1e48463
--- /dev/null
+++ b/sysutils/mktemp/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2009/12/12 23:20:52 asau Exp $
+
+--- Makefile.in.orig 2008-08-17 19:38:34.000000000 +0400
++++ Makefile.in 2009-12-13 02:16:34.000000000 +0300
+@@ -106,13 +106,13 @@
+ install: install-dirs install-binaries install-man
+
+ install-dirs:
+- $(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(mandir)/man1
++ $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+
+ install-binaries: $(PROG)
+- $(INSTALL) -m 0555 -s $(PROG) $(bindir)/$(PROG)
++ $(INSTALL) -m 0555 -s $(PROG) $(DESTDIR)$(bindir)/$(PROG)
+
+ install-man:
+- $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) $(mandir)/man1/mktemp.1
++ $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) $(DESTDIR)$(mandir)/man1/mktemp.1
+
+ check:
+ @echo nothing to check