pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/dojo Proper destdir support (hi darcy!)
details: https://anonhg.NetBSD.org/pkgsrc/rev/467a707b62d2
branches: trunk
changeset: 603802:467a707b62d2
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun May 13 15:46:17 2012 +0000
description:
Proper destdir support (hi darcy!)
diffstat:
www/dojo/Makefile | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diffs (44 lines):
diff -r 053ffd95ee80 -r 467a707b62d2 www/dojo/Makefile
--- a/www/dojo/Makefile Sun May 13 15:24:55 2012 +0000
+++ b/www/dojo/Makefile Sun May 13 15:46:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2012/04/12 16:36:00 darcy Exp $
+# $NetBSD: Makefile,v 1.2 2012/05/13 15:46:17 wiz Exp $
# FreeBSD Id: ports/www/dojo/Makefile,v 1.14 2011/08/20 17:27:37 ohauer Exp
DISTNAME= dojo-release-1.7.2
@@ -11,15 +11,16 @@
HOMEPAGE= http://dojotoolkit.org/
COMMENT= Open-source DHTML toolkit written in JavaScript
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
USE_TOOLS+= pax
.include "../../mk/bsd.prefs.mk"
-PKG_DESTDIR_SUPPORT= user-destdir
REPLACE_BASH+= dojox/mobile/build/build.sh
-CONFDIR= ${DESTDIR}${PREFIX}/etc/httpd
-WWWDIR= ${DESTDIR}${PREFIX}/share/httpd/dojo
+CONFDIR= ${PREFIX}/etc/httpd
+WWWDIR= ${PREFIX}/share/httpd/dojo
INSTALLATION_DIRS+= ${WWWDIR} ${CONFDIR}
SUBST_CLASSES+= dojo
@@ -36,10 +37,10 @@
${CP} ${FILESDIR}/dojo.conf.in ${WRKSRC}/dojo.conf
do-install:
- cd ${WRKSRC} && ${PAX} -wr dijit ${WWWDIR}/
- cd ${WRKSRC} && ${PAX} -wr dojo ${WWWDIR}/
- cd ${WRKSRC} && ${PAX} -wr dojox ${WWWDIR}/
- ${INSTALL_DATA} ${WRKSRC}/dojo.conf ${CONFDIR}/
+ cd ${WRKSRC} && ${PAX} -wr dijit ${DESTDIR}${WWWDIR}/
+ cd ${WRKSRC} && ${PAX} -wr dojo ${DESTDIR}${WWWDIR}/
+ cd ${WRKSRC} && ${PAX} -wr dojox ${DESTDIR}${WWWDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/dojo.conf ${DESTDIR}${CONFDIR}/
.include "../../www/apache22/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index