blob: e699db9698b906181e8acfb595180a436c77f05a (
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
30
31
32
33
34
35
36
37
38
|
# Created by: Chin-San Huang <chinsan@mail2000.com.tw>
# $FreeBSD$
PORTNAME= dokuwiki
PORTVERSION= ${DIST_VER:S/${PORTNAME}//:S/-//g}
CATEGORIES= www
MASTER_SITES= http://download.dokuwiki.org/src/dokuwiki/
DISTNAME= ${DIST_VER}
MAINTAINER= delphij@FreeBSD.org
COMMENT= Simple and easy to use wiki, no database required
LICENSE= GPLv2
DIST_VER= ${PORTNAME}-2016-06-26a
USE_PHP= gd mbstring openssl pcre session xml zlib
NO_ARCH= YES
NO_BUILD= YES
WANT_PHP_WEB= YES
USES= cpe tar:tgz
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>
|