summaryrefslogtreecommitdiff
path: root/time/gnutime
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 20:21:37 +0000
committerjoerg <joerg>2009-07-07 20:21:37 +0000
commitbd3694ca64b8c28c56455c526bb45b72c477ab91 (patch)
tree5b9172854f8c506603243cb453270069ec41bf74 /time/gnutime
parent93106e45edf699d41a94e6383f7e4823b35ba652 (diff)
downloadpkgsrc-bd3694ca64b8c28c56455c526bb45b72c477ab91.tar.gz
user-destdir support
Diffstat (limited to 'time/gnutime')
-rw-r--r--time/gnutime/Makefile4
-rw-r--r--time/gnutime/distinfo4
-rw-r--r--time/gnutime/patches/patch-ab37
3 files changed, 37 insertions, 8 deletions
diff --git a/time/gnutime/Makefile b/time/gnutime/Makefile
index 00969ea18ef..fed35fcf5ca 100644
--- a/time/gnutime/Makefile
+++ b/time/gnutime/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/10/04 22:01:52 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2009/07/07 20:21:37 joerg Exp $
#
DISTNAME= time-1.7
@@ -10,6 +10,8 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://directory.fsf.org/GNU/time.html
COMMENT= Report user, system, and real time used by a process
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
INFO_FILES= # PLIST
diff --git a/time/gnutime/distinfo b/time/gnutime/distinfo
index 053c447ed80..995a6497242 100644
--- a/time/gnutime/distinfo
+++ b/time/gnutime/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2006/04/08 04:22:55 jlam Exp $
+$NetBSD: distinfo,v 1.6 2009/07/07 20:21:37 joerg Exp $
SHA1 (time-1.7.tar.gz) = dde0c28c7426960736933f3e763320680356cc6a
RMD160 (time-1.7.tar.gz) = 547a9bb4bc0b3a34046be8381e9c142977ffd402
Size (time-1.7.tar.gz) = 103066 bytes
SHA1 (patch-aa) = 73cf3ec312be4df97340a77f66c29b59c2afbf18
-SHA1 (patch-ab) = 25f61d7e4bbabc3c5f1a99987d059b279e20576a
+SHA1 (patch-ab) = 235c62c2d35ebbcb65bf6b4a242946740a78a4f0
diff --git a/time/gnutime/patches/patch-ab b/time/gnutime/patches/patch-ab
index 416314f7eec..29fdc3fa36f 100644
--- a/time/gnutime/patches/patch-ab
+++ b/time/gnutime/patches/patch-ab
@@ -1,14 +1,41 @@
-$NetBSD: patch-ab,v 1.4 2006/04/08 04:22:55 jlam Exp $
+$NetBSD: patch-ab,v 1.5 2009/07/07 20:21:37 joerg Exp $
---- Makefile.in.orig 1996-07-11 17:07:03.000000000 -0400
+--- Makefile.in.orig 1996-07-11 23:07:03.000000000 +0200
+++ Makefile.in
-@@ -178,7 +178,8 @@ time.info: time.texi version.texi
+@@ -114,10 +114,10 @@ distclean-binPROGRAMS:
+ maintainer-clean-binPROGRAMS:
+
+ install-binPROGRAMS: $(bin_PROGRAMS)
+- $(mkinstalldirs) $(bindir)
++ $(mkinstalldirs) ${DESTDIR}$(bindir)
+ list="$(bin_PROGRAMS)"; for p in $$list; do \
+ if test -f $$p; then \
+- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
++ $(INSTALL_PROGRAM) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`; \
+ else :; fi; \
+ done
+
+@@ -176,10 +176,11 @@ time.info: time.texi version.texi
+ TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
+
install-info: $(INFO_DEPS)
- $(mkinstalldirs) $(infodir)
+- $(mkinstalldirs) $(infodir)
++ $(mkinstalldirs) ${DESTDIR}$(infodir)
for file in $(INFO_DEPS); do \
- for ifile in `cd $(srcdir) && echo $$file*`; do \
+- $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
+ for ifile in `cd $(srcdir) && echo $$file $$file-[1-9]*`; do \
+ test ! -f $(srcdir)/$$ifile || \
- $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
++ $(INSTALL_DATA) $(srcdir)/$$ifile ${DESTDIR}$(infodir)/$$ifile; \
done; \
done
+
+@@ -279,7 +280,7 @@ all: $(INFO_DEPS) $(PROGRAMS) Makefile
+ install-strip:
+ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
+ installdirs:
+- $(mkinstalldirs) $(bindir) $(infodir)
++ $(mkinstalldirs) ${DESTDIR}$(bindir) ${DESTDIR}$(infodir)
+
+
+ mostlyclean-generic: