pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/bottlerocket destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bcb8989158b9
branches:  trunk
changeset: 570847:bcb8989158b9
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Thu Feb 04 05:08:12 2010 +0000

description:
destdir support

diffstat:

 misc/bottlerocket/Makefile         |   4 +++-
 misc/bottlerocket/distinfo         |   4 ++--
 misc/bottlerocket/patches/patch-aa |  19 +++++++++++++++----
 3 files changed, 20 insertions(+), 7 deletions(-)

diffs (61 lines):

diff -r 0041a84cf67d -r bcb8989158b9 misc/bottlerocket/Makefile
--- a/misc/bottlerocket/Makefile        Thu Feb 04 04:42:09 2010 +0000
+++ b/misc/bottlerocket/Makefile        Thu Feb 04 05:08:12 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:10 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2010/02/04 05:08:12 dholland Exp $
 
 DISTNAME=      bottlerocket-0.04c
 PKGREVISION=   1
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://mlug.missouri.edu/~tymm/
 COMMENT=       Home Automation Software for the X10 FireCracker kit
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    gmake
 GNU_CONFIGURE= yes
 BUILD_TARGET=  br
diff -r 0041a84cf67d -r bcb8989158b9 misc/bottlerocket/distinfo
--- a/misc/bottlerocket/distinfo        Thu Feb 04 04:42:09 2010 +0000
+++ b/misc/bottlerocket/distinfo        Thu Feb 04 05:08:12 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:02:50 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/02/04 05:08:12 dholland Exp $
 
 SHA1 (bottlerocket-0.04c.tar.gz) = 70f4877cea17653ae8e21d93c1a620c7ddeeeb69
 RMD160 (bottlerocket-0.04c.tar.gz) = d1db2caa29faf599132e7c7f6036a7d170778718
 Size (bottlerocket-0.04c.tar.gz) = 40533 bytes
-SHA1 (patch-aa) = e5c7c6226658322ff10bd5ec311ced7ad4fe7c7f
+SHA1 (patch-aa) = c4702360736c12e63534554ae191ac19dcedf03f
diff -r 0041a84cf67d -r bcb8989158b9 misc/bottlerocket/patches/patch-aa
--- a/misc/bottlerocket/patches/patch-aa        Thu Feb 04 04:42:09 2010 +0000
+++ b/misc/bottlerocket/patches/patch-aa        Thu Feb 04 05:08:12 2010 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.2 2000/07/15 07:14:37 rh Exp $
+$NetBSD: patch-aa,v 1.2 2010/02/04 05:08:12 dholland Exp $
 
---- Makefile.in.old    Tue Dec 28 15:12:47 1999
-+++ Makefile.in        Tue Dec 28 15:12:59 1999
-@@ -23,7 +23,7 @@
+--- Makefile.in.orig   1999-07-17 19:03:14.000000000 +0000
++++ Makefile.in
+@@ -23,7 +23,7 @@ includedir = @includedir@
  
  CFLAGS = @CFLAGS@
  
@@ -11,3 +11,14 @@
  DEFS=@DEFS@
  LIBS=@LIBS@
  INSTALL= @INSTALL@
+@@ -49,8 +49,8 @@ br_cmd.o: ${srcdir}/br_cmd.c ${srcdir}/b
+       ${CC} ${CFLAGS} ${DEFS} -c ${srcdir}/br_cmd.c
+ 
+ install: br
+-      ${INSTALL} -d -m 755 ${bindir}
+-      ${INSTALL} -m 555 br ${bindir}
++      ${INSTALL} -d -m 755 ${DESTDIR}${bindir}
++      ${INSTALL} -m 555 br ${DESTDIR}${bindir}
+ 
+ clean:
+       -rm -f *.o br



Home | Main Index | Thread Index | Old Index