blob: acf4c1e5509613b87ac0f6808287fcda89b82920 (
plain) (
blame)
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
50
51
52
53
|
# $FreeBSD$
PORTNAME= rainloop
PORTVERSION= 1.8.2
CATEGORIES?= mail www
MASTER_SITES= http://repository.rainloop.net/v2/webmail/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}.${RBUILD}-${RHASH}
MAINTAINER= loic.blot@unix-experience.fr
COMMENT= Modern and interactive webmail
LICENSE= CCbyNCSA3
LICENSE_NAME= Attribution-NonCommercial-ShareAlike 3.0 Unported
LICENSE_TEXT= License can be found at: https://github.com/RainLoop/rainloop-webmail/blob/master/LICENSE
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
# Refresh using info from http://repository.rainloop.net/v2/core.stable.json
RHASH= 3cd56183a7425a8750c19bc688aedd81
RBUILD= 291
USES= zip
NO_BUILD= yes
NO_WRKSUBDIR= yes
WANT_PHP_WEB= yes
USE_PHP= curl iconv json xml dom openssl pcre spl zlib
RVER= ${PORTVERSION}.${RBUILD}
PLIST_SUB= VER="${RVER}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
OPTIONS_RADIO= DB
OPTIONS_RADIO_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= MYSQL
.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
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}/data
${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${WWWDIR}/data
${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} rainloop ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>
|