user-destdir supportdiff -r1.2 -r1.3 pkgsrc/www/pound/Makefile
(joerg)
@@ -1,26 +1,28 @@ | @@ -1,26 +1,28 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2008/01/18 05:09:53 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2009/07/07 19:05:20 joerg Exp $ | |
2 | 2 | |||
3 | DISTNAME= Pound-2.3.2 | 3 | DISTNAME= Pound-2.3.2 | |
4 | PKGNAME= ${DISTNAME:S/Pound/pound/} | 4 | PKGNAME= ${DISTNAME:S/Pound/pound/} | |
5 | PKGREVISION= 1 | 5 | PKGREVISION= 1 | |
6 | CATEGORIES= www | 6 | CATEGORIES= www | |
7 | MASTER_SITES= http://www.apsis.ch/pound/ | 7 | MASTER_SITES= http://www.apsis.ch/pound/ | |
8 | EXTRACT_SUFX= .tgz | 8 | EXTRACT_SUFX= .tgz | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://www.apsis.ch/pound/ | 11 | HOMEPAGE= http://www.apsis.ch/pound/ | |
12 | COMMENT= Reverse proxy, load balancer and HTTPS front-end | 12 | COMMENT= Reverse proxy, load balancer and HTTPS front-end | |
13 | 13 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | |||
15 | ||||
14 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
15 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | 17 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | |
16 | USE_FEATURES.openssl= threads | 18 | USE_FEATURES.openssl= threads | |
17 | 19 | |||
18 | RCD_SCRIPTS= pound | 20 | RCD_SCRIPTS= pound | |
19 | 21 | |||
20 | SUBST_CLASSES= config | 22 | SUBST_CLASSES= config | |
21 | SUBST_MESSAGE.config= Fixing path to default config file. | 23 | SUBST_MESSAGE.config= Fixing path to default config file. | |
22 | SUBST_STAGE.config= post-build | 24 | SUBST_STAGE.config= post-build | |
23 | SUBST_FILES.config= pound.8 | 25 | SUBST_FILES.config= pound.8 | |
24 | SUBST_SED.config= -e "s,/usr/local/etc/,"${PKG_SYSCONFDIR:Q}"/,g" | 26 | SUBST_SED.config= -e "s,/usr/local/etc/,"${PKG_SYSCONFDIR:Q}"/,g" | |
25 | 27 | |||
26 | .include "../../devel/pcre/buildlink3.mk" | 28 | .include "../../devel/pcre/buildlink3.mk" |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2007/09/07 19:08:09 jlam Exp $ | 1 | $NetBSD: distinfo,v 1.2 2009/07/07 19:05:20 joerg Exp $ | |
2 | 2 | |||
3 | SHA1 (Pound-2.3.2.tgz) = 93f248e7c5448c8b26905420e2f5d5fdafd33a51 | 3 | SHA1 (Pound-2.3.2.tgz) = 93f248e7c5448c8b26905420e2f5d5fdafd33a51 | |
4 | RMD160 (Pound-2.3.2.tgz) = b04401f7ec9857defae5f1198ab9247bf26db0b7 | 4 | RMD160 (Pound-2.3.2.tgz) = b04401f7ec9857defae5f1198ab9247bf26db0b7 | |
5 | Size (Pound-2.3.2.tgz) = 154678 bytes | 5 | Size (Pound-2.3.2.tgz) = 154678 bytes | |
6 | SHA1 (patch-aa) = 2a9bb11a4fe4808393f197c8803895853ab582f1 |
$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