pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www Fix Maintainer. DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/657f23ffc12c
branches:  trunk
changeset: 554579:657f23ffc12c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 16 13:53:45 2009 +0000

description:
Fix Maintainer. DESTDIR support

diffstat:

 www/ganglia-webfrontend/Makefile |  11 +++++++----
 www/opera-acroread/Makefile      |   6 ++++--
 www/opera-acroread5/Makefile     |   6 ++++--
 www/opera-acroread7/Makefile     |   4 ++--
 4 files changed, 17 insertions(+), 10 deletions(-)

diffs (95 lines):

diff -r ce15453e3a82 -r 657f23ffc12c www/ganglia-webfrontend/Makefile
--- a/www/ganglia-webfrontend/Makefile  Mon Feb 16 13:48:03 2009 +0000
+++ b/www/ganglia-webfrontend/Makefile  Mon Feb 16 13:53:45 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/01/23 21:14:16 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2009/02/16 13:53:45 joerg Exp $
 #
 
 DISTNAME=      ganglia-3.0.1
@@ -8,10 +8,12 @@
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ganglia/}
 EXTRACT_SUFX=  .tar.bz2
 
-MAINTAINER=    pkgsrc-users@@NetBSD.org
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://ganglia.sourceforge.net/
 COMMENT=       PHP based frontend for the Ganglia Cluster Monitor
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.1:../../www/ap-php
 DEPENDS+=      ganglia-monitor-core>=3.0.1:../../parallel/ganglia-monitor-core
 
@@ -23,6 +25,8 @@
 DOCROOT=       ${PREFIX}/share/httpd/htdocs/ganglia
 MESSAGE_SUBST+=        PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
 
+INSTALLATION_DIRS=     ${DOCROOT}
+
 do-configure:
        ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${WRKSRC}/conf.php > \
                ${WRKSRC}/conf.php.tmp &&                       \
@@ -30,8 +34,7 @@
        ${RM} ${WRKSRC}/conf.php.orig ${WRKSRC}/templates/default/footer.tpl.orig
 
 do-install:
-       ${INSTALL_DATA_DIR} ${DOCROOT}
-       cd ${WRKSRC} && pax -rw . ${DOCROOT}/
+       cd ${WRKSRC} && pax -rw . ${DESTDIR}${DOCROOT}/
 
 .include "../../mk/apachever.mk"
 .include "../../lang/php/phpversion.mk"
diff -r ce15453e3a82 -r 657f23ffc12c www/opera-acroread/Makefile
--- a/www/opera-acroread/Makefile       Mon Feb 16 13:48:03 2009 +0000
+++ b/www/opera-acroread/Makefile       Mon Feb 16 13:53:45 2009 +0000
@@ -1,11 +1,13 @@
-# $NetBSD: Makefile,v 1.9 2009/01/23 21:14:16 jschauma Exp $
+# $NetBSD: Makefile,v 1.10 2009/02/16 13:55:00 joerg Exp $
 
 DISTNAME=              opera-acroread-1.0
 PKGREVISION=           4
 
-MAINTAINER=            pkgsrc-users@@NetBSD.org
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               Acrobat Reader 4 plugin for opera
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=              acroread-4.[0-9]*:../../print/acroread
 CONFLICTS+=            opera-acroread3-[0-9]*
 CONFLICTS+=            opera-acroread5-[0-9]*
diff -r ce15453e3a82 -r 657f23ffc12c www/opera-acroread5/Makefile
--- a/www/opera-acroread5/Makefile      Mon Feb 16 13:48:03 2009 +0000
+++ b/www/opera-acroread5/Makefile      Mon Feb 16 13:53:45 2009 +0000
@@ -1,11 +1,13 @@
-# $NetBSD: Makefile,v 1.8 2009/01/23 21:14:16 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2009/02/16 13:55:00 joerg Exp $
 
 DISTNAME=              opera-acroread5-1.0
 PKGREVISION=           4
 
-MAINTAINER=            pkgsrc-users@@NetBSD.org
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               Acrobat Reader 5 plugin for opera
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=              acroread5-5.[0-9]*:../../print/acroread5
 CONFLICTS+=            opera-acroread-[0-9]*
 CONFLICTS+=            opera-acroread3-[0-9]*
diff -r ce15453e3a82 -r 657f23ffc12c www/opera-acroread7/Makefile
--- a/www/opera-acroread7/Makefile      Mon Feb 16 13:48:03 2009 +0000
+++ b/www/opera-acroread7/Makefile      Mon Feb 16 13:53:45 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2009/01/23 21:14:16 jschauma Exp $
+# $NetBSD: Makefile,v 1.13 2009/02/16 13:55:00 joerg Exp $
 
 DISTNAME=              opera-acroread7-1.0
 PKGREVISION=           3
 
-MAINTAINER=            pkgsrc-users@@NetBSD.org
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               Acrobat Reader 7 plugin for opera
 
 PKG_DESTDIR_SUPPORT=   user-destdir



Home | Main Index | Thread Index | Old Index