blob: 06dc08277f465586beac201a4b12bbf7e8dcbd1d (
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
39
40
41
42
43
44
45
46
47
48
49
|
# $FreeBSD$
PORTNAME= sabredav
PORTVERSION= 2.0.3
CATEGORIES= www
MASTER_SITES= https://github.com/fruux/sabre-dav/releases/download/${PORTVERSION}/
MAINTAINER= meyser@xenet.de
COMMENT= WebDav, CalDav and Carddav Server/Framework written in PHP
LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= MYSQL
MYSQL_DESC= Install mysql support
PGSQL_DESC= Install postgresql support
SQLITE_DESC= Install sqlite support
OPTIONS_MULTI= DATABASE
OPTIONS_MULTI_DATABASE= MYSQL PGSQL SQLITE
USES= cpe zip
CPE_VENDOR= fruux
USE_PHP= dom simplexml mbstring ctype iconv
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= pdo_mysql
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pdo_pgsql
.endif
.if ${PORT_OPTIONS:MSQLITE}
USE_PHP+= pdo_sqlite
.endif
WRKSRC= ${WRKDIR}/SabreDAV
NO_BUILD= yes
do-install:
${MKDIR} ${STAGEDIR}/${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} )
.include <bsd.port.mk>
|