1998-07-28 23:43:25 +00:00
|
|
|
# ex:ts=8
|
1999-04-27 20:11:57 +00:00
|
|
|
# Ports collection makefile for: gnucash
|
2000-03-26 13:16:31 +00:00
|
|
|
# Version required: 1.0.18
|
1998-07-28 23:43:25 +00:00
|
|
|
# Date created: Mon Feb 03, 1997
|
|
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-07-28 23:43:25 +00:00
|
|
|
#
|
|
|
|
|
2000-03-28 18:30:16 +00:00
|
|
|
DISTNAME= gnucash-1.3.4
|
1998-08-10 02:51:45 +00:00
|
|
|
CATEGORIES= deskutils
|
2000-03-28 18:03:51 +00:00
|
|
|
MASTER_SITES= ftp://www.gnucash.org/pub/gnucash/gnucash/sources/unstable/1.3.x/
|
1998-07-28 23:43:25 +00:00
|
|
|
|
1998-08-12 19:00:46 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1998-07-28 23:43:25 +00:00
|
|
|
|
2000-03-26 13:16:31 +00:00
|
|
|
BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG \
|
|
|
|
eperl:${PORTSDIR}/lang/eperl
|
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \
|
|
|
|
gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
|
|
|
glib12.3:${PORTSDIR}/devel/glib12 \
|
|
|
|
gnome.3:${PORTSDIR}/x11/gnomelibs \
|
|
|
|
guile.6:${PORTSDIR}/lang/guile
|
|
|
|
site_perl= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
|
|
|
RUN_DEPENDS= slib48:${PORTSDIR}/lang/slib \
|
|
|
|
${site_perl}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
|
|
|
${site_perl}/URI.pm:${PORTSDIR}/net/p5-URI \
|
|
|
|
${site_perl}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
1998-07-28 23:43:25 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-03-26 13:16:31 +00:00
|
|
|
USE_PERL5= yes
|
|
|
|
ALL_TARGET= gnome
|
|
|
|
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
|
|
|
|
CONFIGURE_ENV= MAKE=gmake \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}"
|
|
|
|
MAKE_ENV= MAKE=gmake
|
1998-07-28 23:43:25 +00:00
|
|
|
|
2000-03-26 13:16:31 +00:00
|
|
|
post-configure:
|
|
|
|
${PERL} -pi.orig -e 's:/usr/lib/gnucash:${PREFIX}/lib/gnucash:g' \
|
|
|
|
${WRKSRC}/src/quotes/gnc-prices
|
1998-12-25 20:10:50 +00:00
|
|
|
|
1998-07-28 23:43:25 +00:00
|
|
|
post-install:
|
2000-03-26 13:16:31 +00:00
|
|
|
@strip ${PREFIX}/bin/gnucash.gnome
|
|
|
|
${LDCONFIG} -m ${PREFIX}/lib/gnucash
|
|
|
|
cd ${PREFIX}/share/guile && ln -sf ../slib .
|
|
|
|
guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
|
1998-07-28 23:43:25 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|