mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
c130be0bcc
- Move libravatar plugin to separate port
78 lines
1.5 KiB
Makefile
78 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTVERSION= 3.10.1
|
|
CATEGORIES?= mail
|
|
MASTER_SITES= SF/claws-mail/Claws%20Mail/${PORTVERSION}
|
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES+= gmake iconv libtool pkgconfig tar:xz
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --disable-dbus --disable-static
|
|
|
|
CLAWS_PLUGINS= acpi_notifier \
|
|
address_keeper \
|
|
archive \
|
|
att_remover \
|
|
attachwarner \
|
|
bogofilter \
|
|
bsfilter \
|
|
clamd \
|
|
fancy \
|
|
fetchinfo \
|
|
gdata \
|
|
geolocation \
|
|
libravatar \
|
|
mailmbox \
|
|
newmail \
|
|
notification \
|
|
pdf_viewer \
|
|
perl \
|
|
python \
|
|
pgpcore \
|
|
pgpinline \
|
|
pgpmime \
|
|
rssyl \
|
|
smime \
|
|
spam_report \
|
|
spamassassin \
|
|
tnef_parse \
|
|
vcalendar
|
|
|
|
.for p in ${CLAWS_PLUGINS}
|
|
CONFIGURE_ARGS+= --disable-${p}-plugin
|
|
.endfor
|
|
|
|
.if defined(CLAWS_PLUGINS_BUILD)
|
|
DISTNAME= claws-mail-${PORTVERSION}
|
|
PKGNAMEPREFIX= claws-mail-
|
|
|
|
BUILD_DEPENDS+= claws-mail>=${PORTVERSION}:${PORTSDIR}/mail/claws-mail
|
|
RUN_DEPENDS+= claws-mail>=${PORTVERSION}:${PORTSDIR}/mail/claws-mail
|
|
|
|
MASTERDIR= ${.CURDIR}/../../mail/claws-mail
|
|
DESCR= ${.CURDIR}/pkg-descr
|
|
FILESDIR= ${.CURDIR}/files
|
|
PLIST= ${NONEXISTENT}
|
|
PKGMESSAGE= ${.CURDIR}/pkg-message
|
|
|
|
. for p in ${CLAWS_PLUGINS_BUILD}
|
|
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S|--disable-${p}-plugin||}
|
|
PLIST_FILES+= lib/claws-mail/plugins/${p}.so
|
|
. endfor
|
|
|
|
do-build:
|
|
. for p in ${CLAWS_PLUGINS_BUILD}
|
|
cd ${WRKSRC}/src/plugins/${p} && ${MAKE_CMD}
|
|
. endfor
|
|
|
|
do-install:
|
|
. for p in ${CLAWS_PLUGINS_BUILD}
|
|
cd ${WRKSRC}/src/plugins/${p} && ${MAKE_CMD} install DESTDIR="${STAGEDIR}"
|
|
. endfor
|
|
|
|
.endif
|