blob: 1c2a4363a9d4ec1b22abfa67842dfcdd557da988 (
plain)
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
|
# Created by: Sylvio Cesar <sylvio@FreeBSD.org>
# $FreeBSD$
PORTNAME= lionwiki
PORTVERSION= 3.2.7
CATEGORIES= www
MASTER_SITES= http://lionwiki.0o.cz/download/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Minimalis wiki, extensible, templatable and file based
USE_PHP= session ctype
NO_BUILD= yes
ROOTFILES= config.php index.php
ROOTDIRS= lang plugins templates var
SUB_FILES= pkg-message
PLIST_SUB= OWNER=${WWWOWN} GROUP=${WWWGRP}
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/config.php \
${STAGEDIR}${WWWDIR}/config.php.sample
${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}/
.for dirs in ${ROOTDIRS}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${dirs} ${STAGEDIR}${WWWDIR}/
.endfor
.include <bsd.port.mk>
|