mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
33 lines
838 B
Makefile
33 lines
838 B
Makefile
# Created by: Wen heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xoops
|
|
PORTVERSION= 2.5.6
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/XOOPS%20Core%20%28stable%20releases%29/XOOPS_${PORTVERSION}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= A Dynamic Web CMS
|
|
|
|
USE_PHP= mysql
|
|
|
|
NO_BUILD= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
.for i in checksum.md5 checksum.php
|
|
@cd ${WRKSRC} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/
|
|
.endfor
|
|
.for d in docs extras htdocs
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${WWWDIR}
|
|
.endfor
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
|
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
|
|
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
|
|
>> ${TMPPLIST}
|
|
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \
|
|
>> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|