aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-plugins/Makefile
blob: caf195f0bc20cd1b566c85df4ec74e43f2582519 (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
# Created by: Rozhuk Ivan <rozhuk.im@gmail.com>

PORTNAME=	claws-mail-plugins
PORTVERSION=	3.17.8
CATEGORIES=	mail news

MAINTAINER=	portmaster@BSDforge.com
COMMENT=	claws-mail plugins meta-port

LICENSE=	BSD2CLAUSE

USES=		metaport

.include "../claws-mail/Makefile.claws.plugins"

# pgpcore, pgpinline, pgpmime, smime
CLAWS_PLUGINS+=	pgp

.for _addon in ${CLAWS_PLUGINS:O}
. if exists(../claws-mail-${_addon})
OPTIONS_DEFINE+=	${_addon:tu}
${_addon:tu}_DESC!=	${MAKE} -C ../claws-mail-${_addon} -V COMMENT
. endif
.endfor

.include <bsd.port.options.mk>

.for _addon in ${CLAWS_PLUGINS}
. if ${PORT_OPTIONS:M${_addon:tu}} != ""
RUN_DEPENDS+=	claws-mail-${_addon}>=0:mail/claws-mail-${_addon}
. endif
.endfor

.include <bsd.port.mk>