1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/www/lionwiki/Makefile
Yi-Jheng Lin 13fc082f56 Add lionwiki 3.1.0, minimalis wiki, extensible, templatable and file
based.

PR:		ports/139432
Submitted by:	Sylvio Cesar <scjamorim at bsd.com.br>
Approved by:	rafan (co-mentor)
2009-11-09 12:13:18 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: lionwiki
# Date created: 2009-10-07
# Whom: Sylvio Cesar <scjamorim@bsd.com.br>
#
# $FreeBSD$
#
PORTNAME= lionwiki
PORTVERSION= 3.1.0
CATEGORIES= www
MASTER_SITES= http://lionwiki.0o.cz/download/${PORTVERSION}/
MAINTAINER= scjamorim@bsd.com.br
COMMENT= Minimalis wiki, extensible, templatable and file based
USE_BZIP2= yes
USE_PHP= session ctype
NO_WRKSUBDIR= yes
NO_BUILD= yes
ROOTFILES= config.php index.php
ROOTDIRS= lang plugins templates var
SUB_FILES= pkg-message
post-patch:
@(cd ${WRKSRC} && ${MV} config.php config.php.sample)
do-install:
@${MKDIR} ${WWWDIR}
@${INSTALL_DATA} ${WRKSRC}/config.php.sample ${WWWDIR}/
@if [ ! -f ${WWWDIR}/config.php ]; then \
${CP} -p ${WWWDIR}/config.php.sample ${WWWDIR}/config.php; \
fi
@${INSTALL_DATA} ${WRKSRC}/index.php ${WWWDIR}/
.for dirs in ${ROOTDIRS}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dirs} ${WWWDIR}/ )
.endfor
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>