mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
0cf8fb2617
There were modifications made to the PR patch that was submitted to stage this port: * Use @owner, @group pkg-list keywords instead of $CHOWN in stagedir * Use @sample keyword instead of old-style conf file handling * post-patch target unnecessary; file doesn't need to be MV'd twice * post-install target unnecessary with stage (pkg-message handled is automatically) * pet portlint with WWW whitespace fix * Reset MIA maintainer PR: ports/190225 Submitted by: Joe Benden Modified by: marino
30 lines
751 B
Makefile
30 lines
751 B
Makefile
# 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>
|