aboutsummaryrefslogtreecommitdiff
path: root/finance/grisbi/Makefile
blob: db5cc6749c3a032dd5a92bf5e68383413579687f (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
# Created by: Thierry Thomas <thierry@pompo.net>

PORTNAME=	grisbi
PORTVERSION=	2.0.5
PORTREVISION=	2
CATEGORIES=	finance
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION:R}.x/${PORTVERSION}

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	Personal accounting application

LICENSE=	GPLv2

LIB_DEPENDS=	libofx.so:finance/libofx		\
		libharfbuzz.so:print/harfbuzz		\
		libfreetype.so:print/freetype2		\
		libgoffice-0.10.so:devel/goffice	\
		libfontconfig.so:x11-fonts/fontconfig

USES=		tar:bzip2 desktop-file-utils gmake gnome iconv localbase	\
		pkgconfig shared-mime-info ssl

USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 intltool libgsf libxml2
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"

GLIB_SCHEMAS=	org.gtk.grisbi.gschema.xml

OPTIONS_DEFINE=	DOCS NLS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=		gettext
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>