# $FreeBSD: head/www/dojo/Makefile 368265 2014-09-15 14:11:01Z wg $ PORTNAME= dojo PORTVERSION= 1.10.1 CATEGORIES= www MASTER_SITES= http://download.dojotoolkit.org/release-${PORTVERSION}/ DISTNAME= dojo-release-${PORTVERSION} MAINTAINER= wg@FreeBSD.org COMMENT= Open-source DHTML toolkit written in JavaScript NO_BUILD= yes SHAREOWN= www SHAREGRP= www OPTIONS_DEFINE= APACHE OPTIONS_SUB= yes .include .if ${PORT_OPTIONS:MAPACHE} USE_APACHE_RUN= 22+ CONFDIR= ${PREFIX}/${CONFDIR_REL} CONFDIR_REL= ${APACHEETCDIR}/Includes PLIST_SUB+= CONFDIR=${CONFDIR_REL} CONF= dojo.conf SUB_FILES+= pkg-message ${CONF} .endif do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .if ${PORT_OPTIONS:MAPACHE} @${MKDIR} ${STAGEDIR}${CONFDIR} ${CP} ${WRKDIR}/${CONF} ${STAGEDIR}${CONFDIR}/dojo.conf.sample .endif .include