diff options
author | wiz <wiz@pkgsrc.org> | 2012-05-13 15:46:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-05-13 15:46:17 +0000 |
commit | 9fa8dc47744e6b46772b7ec9722a692890cb04e8 (patch) | |
tree | 9ff9844ccaec00c565049e73af717832f6a3abfb /www/dojo | |
parent | dafb4791004fac22ccab9688d069804cf38d637e (diff) | |
download | pkgsrc-9fa8dc47744e6b46772b7ec9722a692890cb04e8.tar.gz |
Proper destdir support (hi darcy!)
Diffstat (limited to 'www/dojo')
-rw-r--r-- | www/dojo/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/www/dojo/Makefile b/www/dojo/Makefile index 732f0b5e371..7d97e3d97cb 100644 --- a/www/dojo/Makefile +++ b/www/dojo/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ post-extract: ${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" |