blob: 3d00024632788eefcf08c4b76ad9851aea527b64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
PORTNAME= dojo
PORTVERSION= 1.12.2
CATEGORIES= www
MASTER_SITES= http://download.dojotoolkit.org/release-${PORTVERSION}/
DISTNAME= dojo-release-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Open-source DHTML toolkit written in JavaScript
USES= cpe
CPE_VENDOR= linuxfoundation
NO_BUILD= yes
SHAREOWN= www
SHAREGRP= www
OPTIONS_DEFINE= APACHE
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE}
USES= apache:run,2.2+ cpe
CPE_VENDOR= linuxfoundation
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 <bsd.port.mk>
|