pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/privoxy Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/997ab99b5de7
branches:  trunk
changeset: 564195:997ab99b5de7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 29 13:53:34 2009 +0000

description:
Convert to user-destdir.

diffstat:

 www/privoxy/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r f04f9e34e8f3 -r 997ab99b5de7 www/privoxy/Makefile
--- a/www/privoxy/Makefile      Sat Aug 29 13:53:07 2009 +0000
+++ b/www/privoxy/Makefile      Sat Aug 29 13:53:34 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2009/04/07 14:02:06 mjl Exp $
+# $NetBSD: Makefile,v 1.40 2009/08/29 13:53:34 wiz Exp $
 #
 
 DISTNAME=      ${PKGNAME_NOREV}-stable-src
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.privoxy.org/
 COMMENT=       Web proxy with advanced filtering capabilities
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .include "../../mk/bsd.prefs.mk"
 
 PRIVOXY_USER?=         privoxy
@@ -64,8 +66,8 @@
        cd ${WRKSRC} && autoheader && autoconf
 
 post-install:
-       ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${EGDIR}
-       ${CHMOD} -R a+r ${EGDIR}
+       ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${DESTDIR}${EGDIR}
+       ${CHMOD} -R a+r ${DESTDIR}${EGDIR}
 
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index