pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/thrulay user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/463bb0002017
branches:  trunk
changeset: 395525:463bb0002017
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 08 14:44:00 2009 +0000

description:
user-destdir support

diffstat:

 benchmarks/thrulay/Makefile         |   3 ++-
 benchmarks/thrulay/patches/patch-aa |  19 +++++++++++++++++++
 benchmarks/thrulay/patches/patch-ab |  15 +++++++++++++++
 3 files changed, 36 insertions(+), 1 deletions(-)

diffs (59 lines):

diff -r 0cb9c1f8f0f2 -r 463bb0002017 benchmarks/thrulay/Makefile
--- a/benchmarks/thrulay/Makefile       Wed Jul 08 14:38:35 2009 +0000
+++ b/benchmarks/thrulay/Makefile       Wed Jul 08 14:44:00 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2009/06/30 00:07:10 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2009/07/08 14:44:00 joerg Exp $
 
 DISTNAME=      thrulay-0.8
 CATEGORIES=    benchmarks net
@@ -9,6 +9,7 @@
 COMMENT=       TCP and UDP network capacity tester
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 MAKE_JOBS_SAFE=                no
 
diff -r 0cb9c1f8f0f2 -r 463bb0002017 benchmarks/thrulay/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/thrulay/patches/patch-aa       Wed Jul 08 14:44:00 2009 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2009/07/08 14:44:00 joerg Exp $
+
+--- doc/Makefile.in.orig       2009-07-08 16:30:54.000000000 +0200
++++ doc/Makefile.in
+@@ -18,10 +18,10 @@ distclean:
+       rm -f Makefile
+ 
+ install-man:
+-      $(MKINSTALLDIRS) $(MANDIR1)
+-      $(MKINSTALLDIRS) $(MANDIR8)
+-      $(INSTALL) -c -m 0644 thrulay.1 $(MANDIR1)
+-      $(INSTALL) -c -m 0644 thrulayd.8 $(MANDIR8)
++      $(MKINSTALLDIRS) ${DESTDIR}$(MANDIR1)
++      $(MKINSTALLDIRS) ${DESTDIR}$(MANDIR8)
++      $(INSTALL) -c -m 0644 thrulay.1 ${DESTDIR}$(MANDIR1)
++      $(INSTALL) -c -m 0644 thrulayd.8 ${DESTDIR}$(MANDIR8)
+ 
+ uninstall-man:
+       rm -f $(MANDIR1)/thrulay.1
diff -r 0cb9c1f8f0f2 -r 463bb0002017 benchmarks/thrulay/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/thrulay/patches/patch-ab       Wed Jul 08 14:44:00 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2009/07/08 14:44:00 joerg Exp $
+
+--- src/Makefile.in.orig       2009-07-08 16:31:17.000000000 +0200
++++ src/Makefile.in
+@@ -43,8 +43,8 @@ distclean: clean
+       rm -f Makefile
+ 
+ install:
+-      $(INSTALL) -c -m 0755 -s $(CLIENT) $(bindir)/$(CLIENT)
+-      $(INSTALL) -c -m 0755 -s $(SERVER) $(sbindir)/$(SERVER)
++      $(INSTALL) -c -m 0755 -s $(CLIENT) ${DESTDIR}$(bindir)/$(CLIENT)
++      $(INSTALL) -c -m 0755 -s $(SERVER) ${DESTDIR}$(sbindir)/$(SERVER)
+ 
+ uninstall:
+       rm -f $(bindir)/$(CLIENT)



Home | Main Index | Thread Index | Old Index