blob: 5eaf1531556edb18731a15f36c1b2f8fd702505a (
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
|
PORTNAME= snappymail
DISTVERSION= 2.35.3
CATEGORIES= mail www
MASTER_SITES= https://github.com/the-djmaze/snappymail/releases/download/v${DISTVERSION}/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= Simple, modern, lightweight & fast web-based email client
WWW= https://snappymail.eu/
LICENSE= AGPLv3
RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}APCu>0:devel/pecl-APCu@${PHP_FLAVOR} \
${PECL_PKGNAMEPREFIX}uuid>0:devel/pecl-uuid@${PHP_FLAVOR} \
${PECL_PKGNAMEPREFIX}xxtea>0:security/pecl-xxtea@${PHP_FLAVOR}
USES= php:web,flavors
USE_PHP= ctype curl dom fileinfo gd iconv intl mbstring phar simplexml \
sodium tidy xml zip zlib
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_SUB= VER="${PORTVERSION}" \
WWWGRP="${WWWGRP}" \
WWWOWN="${WWWOWN}"
OPTIONS_DEFINE= GNUPG LDAP MYSQL PGSQL REDIS SQLITE3
OPTIONS_DEFAULT= GNUPG LDAP MYSQL PGSQL REDIS SQLITE3
GNUPG_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}gnupg>0:security/pecl-gnupg@${PHP_FLAVOR}
LDAP_USE= PHP=ldap
MYSQL_USE= PHP=pdo_mysql
PGSQL_USE= PHP=pdo_pgsql
REDIS_USE= PHP=redis
SQLITE3_USE= PHP=pdo_sqlite
do-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
${RM} -r ${STAGEDIR}${WWWDIR}/data
${MKDIR} ${STAGEDIR}${WWWDIR}/data
.include <bsd.port.mk>
|