From 0f7c0d80b6fd1e47970bf29ef01db40600c95726 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jul 2009 19:05:20 +0000 Subject: user-destdir support --- www/pound/Makefile | 4 +++- www/pound/distinfo | 3 ++- www/pound/patches/patch-aa | 20 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 www/pound/patches/patch-aa (limited to 'www/pound') diff --git a/www/pound/Makefile b/www/pound/Makefile index 0159274ea1e..a0238c83c18 100644 --- a/www/pound/Makefile +++ b/www/pound/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/01/18 05:09:53 tnn Exp $ +# $NetBSD: Makefile,v 1.3 2009/07/07 19:05:20 joerg Exp $ DISTNAME= Pound-2.3.2 PKGNAME= ${DISTNAME:S/Pound/pound/} @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.apsis.ch/pound/ COMMENT= Reverse proxy, load balancer and HTTPS front-end +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} USE_FEATURES.openssl= threads diff --git a/www/pound/distinfo b/www/pound/distinfo index eacf7f6af0c..401ba81263b 100644 --- a/www/pound/distinfo +++ b/www/pound/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/09/07 19:08:09 jlam Exp $ +$NetBSD: distinfo,v 1.2 2009/07/07 19:05:20 joerg Exp $ SHA1 (Pound-2.3.2.tgz) = 93f248e7c5448c8b26905420e2f5d5fdafd33a51 RMD160 (Pound-2.3.2.tgz) = b04401f7ec9857defae5f1198ab9247bf26db0b7 Size (Pound-2.3.2.tgz) = 154678 bytes +SHA1 (patch-aa) = 2a9bb11a4fe4808393f197c8803895853ab582f1 diff --git a/www/pound/patches/patch-aa b/www/pound/patches/patch-aa new file mode 100644 index 00000000000..7d1ff54ab1a --- /dev/null +++ b/www/pound/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1 2009/07/07 19:05:20 joerg Exp $ + +--- Makefile.in.orig 2009-07-07 21:01:57.000000000 +0200 ++++ Makefile.in +@@ -57,11 +57,11 @@ $(OBJS): pound.h + + install: all + @INSTALL@ -d ${DESTDIR}@sbindir@ +- @INSTALL@ -o @I_OWNER@ -g @I_GRP@ -m 555 pound ${DESTDIR}@sbindir@/pound +- @INSTALL@ -o @I_OWNER@ -g @I_GRP@ -m 555 poundctl ${DESTDIR}@sbindir@/poundctl ++ ${BSD_INSTALL_PROGRAM} pound ${DESTDIR}@sbindir@/pound ++ ${BSD_INSTALL_PROGRAM} poundctl ${DESTDIR}@sbindir@/poundctl + @INSTALL@ -d ${DESTDIR}@mandir@/man8 +- @INSTALL@ -o @I_OWNER@ -g @I_GRP@ -m 644 pound.8 ${DESTDIR}@mandir@/man8/pound.8 +- @INSTALL@ -o @I_OWNER@ -g @I_GRP@ -m 644 poundctl.8 ${DESTDIR}@mandir@/man8/poundctl.8 ++ ${BSD_INSTALL_DATA} pound.8 ${DESTDIR}@mandir@/man8/pound.8 ++ ${BSD_INSTALL_DATA} poundctl.8 ${DESTDIR}@mandir@/man8/poundctl.8 + + clean: + rm -f pound $(OBJS) poundctl poundctl.o -- cgit v1.2.3