blob: 49070d9d051b4e5d4509f1110df2d0eb80e2d081 (
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
42
43
44
|
# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= docebo
PORTVERSION= 4.0.2
CATEGORIES= www
MASTER_SITES= http://www.docebo.org/doceboCms/index.php?mn=docs&op=download&pi=5_4&id=86/
MAINTAINER= wen@FreeBSD.org
COMMENT= An Open Source e-Learning platform (LMS and LCMS)
USE_PHP= mysql
USE_ZIP= yes
SUB_FILES= pkg-message
NO_BUILD= yes
NO_WRKSUBDIR= yes
DO_FILES= config.php admin.php index.php
DO_DIRS= doceboCms doceboCore doceboCrm doceboEcom doceboLms doceboScs \
files install readmelicense template upgrade xml_language
NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
@${INSTALL} -d ${WWWDIR}
.for i in ${DO_FILES}
@cd ${WRKDIR} && ${CP} ${i} ${WWWDIR}/
.endfor
.for i in ${DO_DIRS}
@cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${WWWDIR}/
.endfor
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CHMOD} -R 755 ${WWWDIR}
post-install:
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
>> ${TMPPLIST}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|