1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/atutor/Makefile
Beech Rintoul 8bf6b08cdf - Update to 1.6.1
- Add static plist

PR:		ports/125190
Submitted by:	Wen heping <wenheping@gmail.com> (maintainer)
2008-07-05 01:49:20 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: atutor
# Date created: 11 Feb 2008
# Whom: Wen heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= atutor
DISTVERSION= 1.6.1
CATEGORIES= www
MASTER_SITES= SF
DISTNAME= ATutor-${PORTVERSION}
MAINTAINER= wenheping@gmail.com
COMMENT= An Open Source Web-based Learning Content Management System (LCMS)
USE_PHP= session mbstring zlib mysql
WRKSRC= ${WRKDIR}/ATutor
.include <bsd.port.pre.mk>
NO_BUILD= yes
SUB_FILES= pkg-message
ATUTDATDIR= ${WWWDIR}/content
ATUTCONFIG= include/config.inc.php
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
${WWWDIR}' >> ${TMPPLIST}
@${FIND} ${WWWDIR} -type d -exec ${CHMOD} a+x {} \;
@${INSTALL_DATA} -d ${ATUTDATDIR}
@${CHMOD} 777 ${ATUTDATDIR}
@${ECHO_CMD} '@exec ${CHMOD} 777 ${ATUTDATDIR}' >> ${TMPPLIST}
@${CHMOD} 666 ${WWWDIR}/${ATUTCONFIG}
@${ECHO_CMD} '@exec ${CHMOD} 666 \
${WWWDIR}/${ATUTCONFIG}' >> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>