1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/xoops/Makefile
Martin Wilke d4b27e861b - Update to 2.3.3
PR:		132725
Submitted by:	"Wen Heping" <wenheping@gmail.com> (maintainer)
2009-03-19 21:34:39 +00:00

42 lines
863 B
Makefile

# New ports collection makefile for: xoops
# Date created: 02/08/2008
# Whom: Wen heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= xoops
PORTVERSION= 2.3.3
CATEGORIES= www
MASTER_SITES= SF
MAINTAINER= wenheping@gmail.com
COMMENT= A Dynamic Web CMS
USE_PHP= mysql
NO_BUILD= yes
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
do-install:
${MKDIR} ${WWWDIR}
.for i in checksum.md5 checksum.php release_notes.txt
@cd ${WRKSRC} && ${CP} ${i} ${WWWDIR}/
.endfor
.for d in docs extras htdocs upgrade
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${WWWDIR}
.endfor
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CHMOD} -R 755 ${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
>> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>