blob: ef38eea548acb8355dc3326006ba6fdc2dd3df9d (
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
|
# New ports collection makefile for: dokeos
# Date created: 21 January 2006
# Whom: Filipe Rocha <filiperocha@gmail.com>
#
# $FreeBSD$
#
PORTNAME= dokeos
PORTVERSION= 1.8.6
CATEGORIES= www
MASTER_SITES= http://www.dokeos.com/download/
MAINTAINER= filiperocha@gmail.com
COMMENT= Dokeos is an elearning and course management web application
USE_PHP= mysql session gd pcre zlib
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS= LDAP "Use LDAP" off
.if defined(WITH_LDAP)
USE_PHP+= ldap
.endif
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CHMOD} -R 755 ${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \
>> ${TMPPLIST}
@${CHMOD} 666 ${WWWDIR}/home/*.html
@${ECHO_CMD} '@exec ${CHMOD} 666 ${WWWDIR}/home/*.html' \
>> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|