1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/mail/dovecot-xaps/Makefile
Yasuhiro Kimura 7a228334ac mail/{dovecot,dovecot-pigeonhole}: Update to latest stable releases
* Update mail/dovecot to 2.3.21.
* Update mail/dovecot-pigeonhole to 0.5.21.
* Bump PORTREVISION of dependencies.

ReleaseNotes:	https://dovecot.org/mailman3/archives/list/dovecot-news@dovecot.org/thread/Y5SJWAIAVEAQ2KKSWJM7VSJUUFRMFAH5/
PR:		273946
Approved by:	maintainer timeout
2023-10-04 16:47:57 +09:00

39 lines
1004 B
Makefile

PORTNAME= dovecot-xaps
DISTVERSION= g20210623
PORTREVISION= 1
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>