aboutsummaryrefslogtreecommitdiff
path: root/finance/grisbi/Makefile
blob: 481e25402f85a3f298178d7f309fb989470af479 (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:	grisbi
# Date created:		19 November 2002
# Whom:			Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#

PORTNAME=	grisbi
PORTVERSION=	0.5.9
PORTREVISION=	4
CATEGORIES=	finance
MASTER_SITES=	SF

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	A personnal accounting application

LIB_DEPENDS=	ofx.4:${PORTSDIR}/finance/libofx
.if !defined(WITHOUT_LATEX)
RUN_DEPENDS=	${UCS_CLASSDIR}/ucs.sty:${PORTSDIR}/print/latex-ucs
.endif

USE_BZIP2=	yes
USE_ICONV=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gtk20 glib20 libxml2

TEXMFDIR?=	share/texmf
UCS_CLASSDIR=	${LOCALBASE}/${TEXMFDIR}/tex/latex/ucs

MAN1=		grisbi.1

CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}"	\
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.else
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.endif

pre-configure:
.if defined(NOPORTDOCS)
	@${REINPLACE_CMD} -e "s|pixmaps help|pixmaps|" ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>