blob: f408ebc73bc75df0f302d457b94efebe4f03f699 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Ports collection makefile for: gnucash
# Date created: Mon Feb 03, 1997
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= gnucash
PORTVERSION= 1.8.8
PORTREVISION= 1
CATEGORIES= finance gnome
MASTER_SITES= http://www.gnucash.org/pub/gnucash/sources/stable/ \
ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
http://www.linas.org/pub/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnucash
MAINTAINER= gnome@FreeBSD.org
COMMENT= Quicken-like money and finance manager
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile \
guppi.16:${PORTSDIR}/math/guppi \
popt.0:${PORTSDIR}/devel/popt \
ofx.0:${PORTSDIR}/finance/libofx \
db4.0:${PORTSDIR}/databases/db4 \
gw-standard.0:${PORTSDIR}/devel/g-wrap
RUN_DEPENDS= ${LOCALBASE}/share/guile/slibcat:${PORTSDIR}/lang/slib-guile \
${SITE_PERL}/HTML/Base.pm:${PORTSDIR}/www/p5-HTML \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
${SITE_PERL}/Finance/Quote.pm:${PORTSDIR}/finance/p5-Finance-Quote \
${SITE_PERL}/Finance/QuoteHist.pm:${PORTSDIR}/finance/p5-Finance-QuoteHist \
${X11BASE}/share/gnome/omf/gnucash-docs/gnucash-guide-C.omf:${PORTSDIR}/finance/gnucash-docs
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_XPM= yes
USE_PERL5= yes
USE_GNOME= gnomeprefix gnomehack gnomeprint libglade gtkhtml libghttp
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG} \
--enable-ofx \
--disable-error-on-warning
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lintl"
MAN1= gnc-prices.1 gnucash.1
INFO= gnucash-design
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/include/db41/db_185.h)
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db41
post-patch:
@${REINPLACE_CMD} -e "s|db4/db_185.h|db41/db_185.h|g" \
${WRKSRC}/configure
.else
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
.endif
.if exists(${LOCALBASE}/include/openhbci.h) || defined(WITH_OPENHBCI)
LIB_DEPENDS+= openhbci.13:${PORTSDIR}/finance/openhbci \
ktoblzcheck.1:${PORTSDIR}/finance/ktoblzcheck
CONFIGURE_ARGS+=--enable-hbci
.endif
.include <bsd.port.post.mk>
|