mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# 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)
|
|
|
|
DEPRECATED= Not maintained upstream
|
|
EXPIRATION_DATE= 2014-08-22
|
|
|
|
USE_PHP= mysql
|
|
USES= zip
|
|
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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${INSTALL} -d ${STAGEDIR}${WWWDIR}
|
|
|
|
.for i in ${DO_FILES}
|
|
@cd ${WRKDIR} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/
|
|
.endfor
|
|
.for i in ${DO_DIRS}
|
|
@cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR}/
|
|
.endfor
|
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
|
@${CHMOD} -R 755 ${STAGEDIR}${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>
|