View | Details | Raw Unified | Return to bug 266092 | Differences between
and this patch

Collapse All | Expand All

(-)b/mail/claws-mail-plugins/Makefile (-2 / +2 lines)
Lines 1-30 Link Here
1
PORTNAME=	claws-mail-plugins
1
PORTNAME=	claws-mail-plugins
2
PORTVERSION=	3.19.0
3
CATEGORIES=	mail news
2
CATEGORIES=	mail news
4
3
5
MAINTAINER=	portmaster@BSDforge.com
4
MAINTAINER=	portmaster@BSDforge.com
6
COMMENT=	claws-mail plugins meta-port
5
COMMENT=	claws-mail plugins meta-port
7
6
8
USES=		metaport
7
USES=		metaport
9
8
10
.include "../claws-mail/Makefile.claws.plugins"
9
.include "${.CURDIR}/../claws-mail/Makefile.ver"
10
.include "${.CURDIR}/../claws-mail/Makefile.claws.plugins"
11
11
12
# pgpcore, pgpinline, pgpmime, smime
12
# pgpcore, pgpinline, pgpmime, smime
13
CLAWS_PLUGINS+=	pgp
13
CLAWS_PLUGINS+=	pgp
14
14
15
.for _addon in ${CLAWS_PLUGINS:O}
15
.for _addon in ${CLAWS_PLUGINS:O}
16
. if exists(../claws-mail-${_addon})
16
. if exists(../claws-mail-${_addon})
17
OPTIONS_DEFINE+=	${_addon:tu}
17
OPTIONS_DEFINE+=	${_addon:tu}
18
${_addon:tu}_DESC!=	${MAKE} -C ../claws-mail-${_addon} -V COMMENT
18
${_addon:tu}_DESC!=	${MAKE} -C ../claws-mail-${_addon} -V COMMENT
19
. endif
19
. endif
20
.endfor
20
.endfor
21
21
22
.include <bsd.port.options.mk>
22
.include <bsd.port.options.mk>
23
23
24
.for _addon in ${CLAWS_PLUGINS}
24
.for _addon in ${CLAWS_PLUGINS}
25
. if ${PORT_OPTIONS:M${_addon:tu}} != ""
25
. if ${PORT_OPTIONS:M${_addon:tu}} != ""
26
RUN_DEPENDS+=	claws-mail-${_addon}>=0:mail/claws-mail-${_addon}
26
RUN_DEPENDS+=	claws-mail-${_addon}>=0:mail/claws-mail-${_addon}
27
. endif
27
. endif
28
.endfor
28
.endfor
29
29
30
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)b/mail/claws-mail/Makefile.claws (-3 / +3 lines)
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
(-)b/mail/claws-mail/Makefile.ver (+1 lines)
Added Link Here
1
PORTVERSION=	3.19.0

Return to bug 266092