Lines 1-53
Link Here
|
1 |
PORTVERSION= 3.19.0 |
|
|
2 |
CATEGORIES?= mail |
1 |
CATEGORIES?= mail |
3 |
MASTER_SITES= http://www.claws-mail.org/download.php?file=releases/ |
2 |
MASTER_SITES= http://www.claws-mail.org/download.php?file=releases/ |
4 |
|
3 |
|
5 |
MAINTAINER= portmaster@bsdforge.com |
4 |
MAINTAINER= portmaster@bsdforge.com |
6 |
|
5 |
|
7 |
LICENSE= GPLv3 |
6 |
LICENSE= GPLv3 |
8 |
|
7 |
|
9 |
USES+= autoreconf gettext-tools gmake iconv libtool pkgconfig tar:xz |
8 |
USES+= autoreconf gettext-tools gmake iconv libtool pkgconfig tar:xz |
10 |
GNU_CONFIGURE= yes |
9 |
GNU_CONFIGURE= yes |
11 |
|
10 |
|
12 |
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --disable-dbus --disable-static |
11 |
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --disable-dbus --disable-static |
13 |
|
12 |
|
14 |
.include "../claws-mail/Makefile.claws.plugins" |
13 |
.include "${.CURDIR}/../claws-mail/Makefile.ver" |
|
|
14 |
.include "${.CURDIR}/../claws-mail/Makefile.claws.plugins" |
15 |
|
15 |
|
16 |
.for p in ${CLAWS_PLUGINS} |
16 |
.for p in ${CLAWS_PLUGINS} |
17 |
CONFIGURE_ARGS+= --disable-${p}-plugin |
17 |
CONFIGURE_ARGS+= --disable-${p}-plugin |
18 |
.endfor |
18 |
.endfor |
19 |
|
19 |
|
20 |
.if defined(CLAWS_PLUGINS_BUILD) |
20 |
.if defined(CLAWS_PLUGINS_BUILD) |
21 |
DISTNAME= claws-mail-${PORTVERSION} |
21 |
DISTNAME= claws-mail-${PORTVERSION} |
22 |
PKGNAMEPREFIX= claws-mail- |
22 |
PKGNAMEPREFIX= claws-mail- |
23 |
|
23 |
|
24 |
BUILD_DEPENDS+= claws-mail>=${PORTVERSION}:mail/claws-mail |
24 |
BUILD_DEPENDS+= claws-mail>=${PORTVERSION}:mail/claws-mail |
25 |
RUN_DEPENDS+= claws-mail>=${PORTVERSION}:mail/claws-mail |
25 |
RUN_DEPENDS+= claws-mail>=${PORTVERSION}:mail/claws-mail |
26 |
|
26 |
|
27 |
MASTERDIR= ${.CURDIR}/../../mail/claws-mail |
27 |
MASTERDIR= ${.CURDIR}/../claws-mail |
28 |
DESCR= ${.CURDIR}/pkg-descr |
28 |
DESCR= ${.CURDIR}/pkg-descr |
29 |
FILESDIR= ${.CURDIR}/files |
29 |
FILESDIR= ${.CURDIR}/files |
30 |
PLIST= ${NONEXISTENT} |
30 |
PLIST= ${NONEXISTENT} |
31 |
PKGMESSAGE= ${.CURDIR}/pkg-message |
31 |
PKGMESSAGE= ${.CURDIR}/pkg-message |
32 |
|
32 |
|
33 |
CONFIGURE_ARGS+= --disable-nls |
33 |
CONFIGURE_ARGS+= --disable-nls |
34 |
|
34 |
|
35 |
. for p in ${CLAWS_PLUGINS_BUILD} |
35 |
. for p in ${CLAWS_PLUGINS_BUILD} |
36 |
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S|--disable-${p}-plugin||} |
36 |
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S|--disable-${p}-plugin||} |
37 |
PLIST_FILES+= lib/claws-mail/plugins/${p:S|spam_|spam|}.so |
37 |
PLIST_FILES+= lib/claws-mail/plugins/${p:S|spam_|spam|}.so |
38 |
. endfor |
38 |
. endfor |
39 |
|
39 |
|
40 |
do-build: |
40 |
do-build: |
41 |
. for p in ${CLAWS_PLUGINS_BUILD} |
41 |
. for p in ${CLAWS_PLUGINS_BUILD} |
42 |
(cd ${WRKSRC}/src/plugins/${p} && ${MAKE_CMD}) |
42 |
(cd ${WRKSRC}/src/plugins/${p} && ${MAKE_CMD}) |
43 |
. endfor |
43 |
. endfor |
44 |
|
44 |
|
45 |
do-install: |
45 |
do-install: |
46 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/claws-mail/plugins |
46 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/claws-mail/plugins |
47 |
. for p in ${CLAWS_PLUGINS_BUILD} |
47 |
. for p in ${CLAWS_PLUGINS_BUILD} |
48 |
(cd ${WRKSRC}/src/plugins/${p} && \ |
48 |
(cd ${WRKSRC}/src/plugins/${p} && \ |
49 |
${INSTALL_LIB} .libs/${p:S|spam_|spam|}.so \ |
49 |
${INSTALL_LIB} .libs/${p:S|spam_|spam|}.so \ |
50 |
${STAGEDIR}${PREFIX}/lib/claws-mail/plugins) |
50 |
${STAGEDIR}${PREFIX}/lib/claws-mail/plugins) |
51 |
. endfor |
51 |
. endfor |
52 |
|
52 |
|
53 |
.endif |
53 |
.endif |