1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/docebo/Makefile
Martin Wilke c320861bab - Update to 3.6.0.2
PR:		128595
Submitted by:	maintainer
2008-11-08 21:43:54 +00:00

43 lines
1.3 KiB
Makefile

# New ports collection makefile for: docebo
# Date created: 6 April 2008
# Whom: Wen heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= docebo
PORTVERSION= 3.6.0.2
CATEGORIES= www
MASTER_SITES= http://www.docebo.org/doceboCms/index.php?mn=docs&op=download&pi=5_4&id=86/
DISTNAME= ${PORTNAME}_3602
MAINTAINER= wenheping@gmail.com
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
.include <bsd.port.pre.mk>
do-install:
@cd ${WRKDIR} && ${COPYTREE_SHARE} "config.php admin.php index.php" ${WWWDIR}
@cd ${WRKDIR} && ${COPYTREE_SHARE} "doceboCms doceboCore doceboCrm" ${WWWDIR}
@cd ${WRKDIR} && ${COPYTREE_SHARE} "doceboEcom doceboLms doceboScs" ${WWWDIR}
@cd ${WRKDIR} && ${COPYTREE_SHARE} "doceboCms doceboCore doceboCrm" ${WWWDIR}
@cd ${WRKDIR} && ${COPYTREE_SHARE} "files install readmelicense" ${WWWDIR}
@cd ${WRKDIR} && ${COPYTREE_SHARE} "template upgrade xml_language" ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CHMOD} -R 755 ${WWWDIR}
post-install:
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \
>> ${TMPPLIST}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>