2008-02-13 23:11:28 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dojo
|
2014-09-15 16:11:01 +02:00
|
|
|
PORTVERSION= 1.10.1
|
2008-02-13 23:11:28 +01:00
|
|
|
CATEGORIES= www
|
2012-09-26 02:58:17 +02:00
|
|
|
MASTER_SITES= http://download.dojotoolkit.org/release-${PORTVERSION}/
|
2008-02-13 23:11:28 +01:00
|
|
|
DISTNAME= dojo-release-${PORTVERSION}
|
|
|
|
|
2013-07-05 17:37:00 +02:00
|
|
|
MAINTAINER= wg@FreeBSD.org
|
2013-01-16 20:49:14 +01:00
|
|
|
COMMENT= Open-source DHTML toolkit written in JavaScript
|
2008-02-13 23:11:28 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2013-05-21 22:13:05 +02:00
|
|
|
SHAREOWN= www
|
|
|
|
SHAREGRP= www
|
2008-02-13 23:11:28 +01:00
|
|
|
|
2012-09-26 02:58:17 +02:00
|
|
|
OPTIONS_DEFINE= APACHE
|
2013-09-24 14:35:36 +02:00
|
|
|
OPTIONS_SUB= yes
|
2008-02-13 23:11:28 +01:00
|
|
|
|
2012-09-26 02:58:17 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-02-13 23:11:28 +01:00
|
|
|
|
2012-09-26 02:58:17 +02:00
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
2012-09-05 00:27:55 +02:00
|
|
|
USE_APACHE_RUN= 22+
|
2008-02-13 23:11:28 +01:00
|
|
|
CONFDIR= ${PREFIX}/${CONFDIR_REL}
|
|
|
|
CONFDIR_REL= ${APACHEETCDIR}/Includes
|
2013-09-24 14:35:36 +02:00
|
|
|
PLIST_SUB+= CONFDIR=${CONFDIR_REL}
|
2008-02-13 23:11:28 +01:00
|
|
|
|
|
|
|
CONF= dojo.conf
|
|
|
|
SUB_FILES+= pkg-message ${CONF}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2013-09-24 14:35:36 +02:00
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
2008-02-13 23:11:28 +01:00
|
|
|
|
2013-05-21 21:32:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
2013-09-24 14:35:36 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${CONFDIR}
|
2014-06-19 01:12:04 +02:00
|
|
|
${CP} ${WRKDIR}/${CONF} ${STAGEDIR}${CONFDIR}/dojo.conf.sample
|
2008-02-13 23:11:28 +01:00
|
|
|
.endif
|
|
|
|
|
2012-09-26 02:58:17 +02:00
|
|
|
.include <bsd.port.mk>
|