blob: bd0a20fb963f11c15fe05eb67fbcd615279e86ce (
plain)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
# $NetBSD: Makefile,v 1.46 2003/07/13 13:51:40 wiz Exp $
DISTNAME= gnucash-1.8.4
PKGREVISION= 1
CATEGORIES= finance
MASTER_SITES= ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
${MASTER_SITE_SOURCEFORGE:=gnucash/}
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://www.gnucash.org/
COMMENT= Personal double-entry accounting program
DEPENDS+= p5-finance-quote>=1.06:../../finance/p5-finance-quote
DEPENDS+= gnome1-dirs>=1.2:../../misc/gnome1-dirs
BUILDLINK_DEPENDS.guile14= guile14>=1.4:../../lang/guile14
BUILDLINK_DEPENDS.guile14+= guile14<1.5.0:../../lang/guile14
BUILDLINK_DEPENDS.gal= gal-[0-9]*
BUILDLINK_DEPENDS.bonobo= bonobo-[0-9]*
BUILDLINK_DEPENDS.glib= glib>=0.99:../../devel/glib
BUILDLINK_DEPENDS.gdk-pixbuf-gnome= gdk-pixbuf-gnome-*
BUILDLINK_DEPENDS.gtk= gtk+-[0-9]*
BUILDLINK_DEPENDS.imlib= imlib-[0-9]*
BUILDLINK_DEPENDS.ORBit= ORBit-[0-9]*
BUILDLINK_DEPENDS.gdk-pixbuf= gdk-pixbuf>=0.2.5:../../graphics/gdk-pixbuf
BUILDLINK_DEPENDS.gdk-pixbuf-gnome= gdk-pixbuf-gnome-[0-9]*
BUILDLINK_DEPENDS.gnome-libs= gnome-libs-[0-9]*
BUILDLINK_DEPENDS.gnome-print= gnome-print>=0.21:../../print/gnome-print
BUILDLINK_DEPENDS.libglade= libglade-[0-9]*
BUILDLINK_DEPENDS.gconf= GConf-[0-9]*
BUILDLINK_DEPENDS.g-wrap= g-wrap>=1.3.3:../../devel/g-wrap
BUILDLINK_DEPENDS.guile14= guile>=1.3.4:../../lang/guile14
BUILDLINK_DEPENDS.guppi= guppi>=0.35:../../math/guppi
BUILDLINK_DEPENDS.gtkhtml= gtkhtml>=1.1:../../www/gtkhtml
BUILDLINK_DEPENDS.glibwww= glibwww-[0-9]*
BUILDLINK_DEPENDS.gnome-core= gnome-core-[0-9]*
BUILD_DEPENDS+= bison>=1.28:../../devel/bison
USE_GMAKE= YES
USE_X11= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
LIBTOOL_FLAGS+= --preserve-dup-deps
USE_BUILDLINK2= YES
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-included-gettext
CONFIGURE_ARGS+= --with-perl-includes=${PERL5_ARCHLIB}
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ENV+= GUILE="${GUILE14}"
CONFIGURE_ENV+= PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
AM_MAKEFLAGS= LIBTOOL='${PKGLIBTOOL} ${LIBTOOL_FLAGS}'
MAKE_ENV+= AM_MAKEFLAGS="${AM_MAKEFLAGS}"
USE_NEW_TEXINFO= YES
INFO_FILES= gnucash-design.info
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
post-buildlink:
${LN} -s /usr/include/db.h ${BUILDLINK_DIR}/include/db_185.h
if [ ! -f /usr/include/wctype.h ]; then \
${TOUCH} ${BUILDLINK_DIR}/include/wctype.h; \
fi
.endif
GNUCASH_GUILE_MAKEFILE_IN_FILES= \
src/app-file/Makefile.in src/app-utils/Makefile.in \
src/business/business-core/Makefile.in \
src/business/business-gnome/Makefile.in \
src/business/dialog-tax-table/Makefile.in \
src/core-utils/Makefile.in \
src/engine/Makefile.in \
src/gnc-module/Makefile.in \
src/gnc-module/test/mod-bar/Makefile.in \
src/gnc-module/test/mod-baz/Makefile.in \
src/gnc-module/test/mod-foo/Makefile.in \
src/gnome-search/Makefile.in \
src/gnome-utils/Makefile.in \
src/gnome/Makefile.in \
src/import-export/binary-import/Makefile.in \
src/register/register-core/Makefile.in \
src/report/report-gnome/Makefile.in
post-patch:
cd ${WRKSRC}; \
for f in ${GNUCASH_GUILE_MAKEFILE_IN_FILES}; do \
${MV} $$f $$f.orig; \
${SED} -e 's|gnome guile|gnome $${GUILE}|g' $$f.orig > $$f; \
done
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/gal/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/glib/buildlink2.mk"
.include "../../print/gnome-print/buildlink2.mk"
.include "../../devel/g-wrap/buildlink2.mk"
.include "../../devel/libglade/buildlink2.mk"
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../devel/popt/buildlink2.mk"
.include "../../devel/swig/buildlink2.mk"
.include "../../graphics/gdk-pixbuf/buildlink2.mk"
.include "../../lang/guile14/buildlink2.mk"
.include "../../math/guppi/buildlink2.mk"
.include "../../net/ORBit/buildlink2.mk"
.include "../../textproc/libxml/buildlink2.mk"
.include "../../www/gtkhtml/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|