blob: 911e958b268bc67238d336f18ba748c8dcfbfc3a (
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
|
PORTNAME= dovecot-xaps
DISTVERSION= g20210623
CATEGORIES= mail
MAINTAINER= PopularMoment@protonmail.com
COMMENT= Apple push notifications plugin for dovecot
WWW= https://github.com/freswa/dovecot-xaps-plugin
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= dovecot>=2.3.17:mail/dovecot
RUN_DEPENDS= dovecot>=2.3.17:mail/dovecot \
xapsd:net/xapsd
USES= cmake compiler:c11
CMAKE_BUILD_TYPE= Release
CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX=${PREFIX}
USE_GITHUB= yes
GH_ACCOUNT= freswa
GH_PROJECT= dovecot-xaps-plugin
GH_TAGNAME= 197d68e
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= ${PREFIX}/lib/dovecot
PLIST_FILES= etc/dovecot/example-config/conf.d/95-xaps.conf \
lib/dovecot/lib25_xaps_imap_plugin.so \
lib/dovecot/lib25_xaps_push_notification_plugin.so
post-stage:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/dovecot/example-config/conf.d/
${INSTALL_DATA} ${WRKSRC}/xaps.conf \
${STAGEDIR}${PREFIX}/etc/dovecot/example-config/conf.d/95-xaps.conf
.include <bsd.port.mk>
|