blob: f187c7d62356f2d72e7b23e4427e75d1efaa3e23 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# $FreeBSD$
PORTVERSION= 3.9.3
CATEGORIES?= mail
MASTER_SITES= SF/sylpheed-claws/Claws%20Mail/${PORTVERSION}
MAINTAINER= pawel@FreeBSD.org
LICENSE= GPLv3
USE_BZIP2= yes
USES+= gmake iconv pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --disable-dbus
CLAWS_PLUGINS= acpi_notifier \
address_keeper \
archive \
att_remover \
attachwarner \
bogofilter \
bsfilter \
clamd \
fancy \
fetchinfo \
gdata \
geolocation \
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}.a \
lib/claws-mail/plugins/${p}.la \
lib/claws-mail/plugins/${p}.so
. endfor
do-build:
. for p in ${CLAWS_PLUGINS_BUILD}
cd ${WRKSRC}/src/plugins/${p} && ${GMAKE}
. endfor
do-install:
. for p in ${CLAWS_PLUGINS_BUILD}
cd ${WRKSRC}/src/plugins/${p} && ${GMAKE} install DESTDIR="${STAGEDIR}"
. endfor
.endif
|