freebsd-ports/www/efront/Makefile
Martin Wilke a36443e6e8 - Update to 3.5.0.beta4
PR:		126332
Submitted by:	Wen heping <wenheping@gmail.com> (maintainer)
2008-08-11 22:18:01 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: eFront
# Date created: 07 June 2008
# Whom: Wen heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= efront
DISTVERSION= 3.5.0.beta4
CATEGORIES= www
MASTER_SITES= http://www.efrontlearning.net/versions/
DISTNAME= ${PORTNAME}_3.5.0_build2600
MAINTAINER= wenheping@gmail.com
COMMENT= A Elearning and Human Capital Development platform
USE_ZIP= YES
USE_PHP= mbstring zip iconv zlib spl ldap
EFRONT_FILES= CHANGELOG.txt index.php INSTALL.txt \
LICENSE.txt README.txt
EFRONT_DIRS= libraries modules PEAR \
upload www backups
NO_BUILD= yes
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
do-install:
@if [ ! -f ${WWWDIR} ]; then \
${MKDIR} ${WWWDIR} ; fi
.for i in ${EFRONT_FILES}
@cd ${WRKDIR} && ${CP} ${i} ${WWWDIR}
.endfor
.for i in ${EFRONT_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} 755 -R ${WWWDIR}' \
>> ${TMPPLIST}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>