aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-gtkhtml2_viewer/Makefile
blob: cb42999632cc4548676dcfbfbc0e60d4e64cfbd3 (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
# New ports collection makefile for:	sylpheed-claws-gtkhtml2_viewer
# Date created:	7 April 2006
# Whom:	Pawel Pekala <c0rn@o2.pl>
#
# $FreeBSD$
#

PORTNAME=	gtkhtml2_viewer
PORTVERSION=	0.17.2
PORTREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX=	claws-mail-

MAINTAINER=	c0rn@o2.pl
COMMENT=	HTML renderer plugin for claws-mail

LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
BUILD_DEPENDS=	claws-mail>=3.3.1:${PORTSDIR}/mail/claws-mail
RUN_DEPENDS=	claws-mail>=3.3.1:${PORTSDIR}/mail/claws-mail

USE_GMAKE=	yes
USE_AUTOTOOLS=	autoconf:261
USE_GNOME=	libgtkhtml
USE_ICONV=	yes
USE_GETTEXT=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

CONFIGURE_ARGS=	--with-libiconv-prefix=${LOCALBASE} \
		--with-libintl-prefix=${LOCALBASE}

PLIST_FILES=	lib/claws-mail/plugins/gtkhtml2_viewer.a \
		lib/claws-mail/plugins/gtkhtml2_viewer.la \
		lib/claws-mail/plugins/gtkhtml2_viewer.so \
		share/locale/de/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/fi/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/it/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/sk/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/sr/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/es/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/fr/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/pl/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/pt_BR/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/hu/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/ca/LC_MESSAGES/gtkhtml2_viewer.mo \
		share/locale/zh_CN/LC_MESSAGES/gtkhtml2_viewer.mo

.include <bsd.port.mk>