blob: 7cbab0bafb6d43852ba37e9226d0b2b6f86bbf74 (
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
|
PORTNAME= calendar
PORTVERSION= 3.5.5
CATEGORIES= mail
MASTER_SITES= https://cgit.kolab.org/roundcubemail-plugins-kolab/snapshot/
PKGNAMEPREFIX= roundcube-
PKGNAMESUFFIX= -kolab${PHP_PKGNAMESUFFIX}
DISTNAME= roundcubemail-plugins-kolab-${DISTVERSION}
MAINTAINER= crees@FreeBSD.org
COMMENT= Roundcube Calendar plugin from Kolab
LICENSE= AGPLv3
BUILD_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR}
RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR}
USES= php:flavors
IGNORE_WITH_PHP=80
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
WWWDIR= ${PREFIX}/www/roundcube/plugins
post-patch:
${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${WRKSRC}/plugins/calendar/config.inc.php.dist
${RM} ${WRKSRC}/plugins/calendar/config.inc.php.dist.*
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
.for d in calendar libcalendaring libkolab
(cd ${WRKSRC}/plugins && ${COPYTREE_SHARE} $d ${STAGEDIR}${WWWDIR}/)
.endfor
${INSTALL_DATA} ${FILESDIR}/libkolab.min.css \
${STAGEDIR}${WWWDIR}/libkolab/skins/elastic/
.include <bsd.port.mk>
|