mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
9a77f083ac
dokuwiki is properly configured to split out savedir from the wiki itself and when Nginx's X-Accel-Redirect header is being used.
38 lines
871 B
Makefile
38 lines
871 B
Makefile
# Created by: Chin-San Huang <chinsan@mail2000.com.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dokuwiki
|
|
PORTVERSION= ${DIST_VER:S/${PORTNAME}//:S/-//g}
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://download.dokuwiki.org/src/dokuwiki/
|
|
DISTNAME= ${DIST_VER}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= delphij@FreeBSD.org
|
|
COMMENT= Simple and easy to use wiki, no database required
|
|
|
|
LICENSE= GPLv2
|
|
|
|
DIST_VER= ${PORTNAME}-2014-05-05
|
|
USE_PHP= gd mbstring openssl pcre session xml zlib
|
|
NO_BUILD= YES
|
|
WANT_PHP_WEB= YES
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST+= PORTNAME=${PORTNAME}
|
|
SHAREOWN= ${WWWOWN}
|
|
SHAREGRP= ${WWWGRP}
|
|
|
|
REINPLACE_ARGS= -i ''
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/bin/*.php
|
|
@${FIND} ${WRKSRC} -name '*.orig' -delete
|
|
@${RM} ${WRKSRC}/data/deleted.files
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
|
|
.include <bsd.port.mk>
|