freebsd-ports/mail/claws-mail-plugins/Makefile

32 lines
749 B
Makefile
Raw Normal View History

PORTNAME= claws-mail-plugins
CATEGORIES= mail news
MAINTAINER= portmaster@BSDforge.com
COMMENT= claws-mail plugins meta-port
WWW= https://www.claws-mail.org/plugins.php
USES= metaport
.include "${.CURDIR}/../claws-mail/Makefile.ver"
.include "${.CURDIR}/../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>