aboutsummaryrefslogtreecommitdiffstats
path: root/www/xoops/Makefile
blob: 901cc6849d6a91827f65adbc019ce0d99c23b6bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   xoops
PORTVERSION=    2.5.7
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>