diff options
Diffstat (limited to 'finance/gnucash/Makefile')
-rw-r--r-- | finance/gnucash/Makefile | 49 |
1 files changed, 30 insertions, 19 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index 3b738db..44c145c 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -7,45 +7,56 @@ # PORTNAME= gnucash -PORTVERSION= 1.3.4 +PORTVERSION= 1.4.2 CATEGORIES= deskutils gnome -MASTER_SITES= ftp://www.gnucash.org/pub/gnucash/gnucash/sources/unstable/1.3.x/ +MASTER_SITES= ftp://ftp.gnucash.org/pub/gnucash/gnucash/sources/stable/ \ + http://www.gnucash.org/pub/gnucash/sources/stable/ \ + http://www.linas.org/pub/ \ + ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gnucash MAINTAINER= obrien@FreeBSD.org BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG \ + g-wrap:${PORTSDIR}/devel/g-wrap \ eperl:${PORTSDIR}/lang/eperl -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ - guile.6:${PORTSDIR}/lang/guile +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.4:${PORTSDIR}/graphics/png \ + gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ + glib12.3:${PORTSDIR}/devel/glib12 \ + Xpm.4:${PORTSDIR}/graphics/xpm \ + gnome.4:${PORTSDIR}/x11/gnomelibs \ + guile.6:${PORTSDIR}/lang/guile \ + xml.5:${PORTSDIR}/textproc/libxml site_perl= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} -RUN_DEPENDS= slib48:${PORTSDIR}/lang/slib \ +RUN_DEPENDS= slib48:${PORTSDIR}/lang/slib \ + gnuplot:${PORTSDIR}/math/gnuplot \ + ${site_perl}/HTML/Base.pm:${PORTSDIR}/www/p5-HTML \ ${site_perl}/LWP.pm:${PORTSDIR}/www/p5-libwww \ - ${site_perl}/URI.pm:${PORTSDIR}/net/p5-URI \ + ${site_perl}/URI.pm:${PORTSDIR}/net/p5-URI \ ${site_perl}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser USE_GMAKE= yes GNU_CONFIGURE= yes USE_PERL5= yes -ALL_TARGET= gnome - +#USE_X_PREFIX= yes GTK_CONFIG?= ${X11BASE}/bin/gtk12-config -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config - +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config CONFIGURE_ENV= MAKE=gmake \ - CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" \ + CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ GTK_CONFIG="${GTK_CONFIG}" \ GLIB_CONFIG="${GLIB_CONFIG}" -MAKE_ENV= MAKE=gmake +CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG} +MAN1= gnc-prices.1 gnucash.1 -post-configure: - ${PERL} -pi.orig -e 's:/usr/lib/gnucash:${PREFIX}/lib/gnucash:g' \ - ${WRKSRC}/src/quotes/gnc-prices post-install: - @strip ${PREFIX}/bin/gnucash.gnome - ${LDCONFIG} -m ${PREFIX}/lib/gnucash - cd ${PREFIX}/share/guile && ln -sf ../slib . + @strip ${PREFIX}/bin/gnucash + ${LDCONFIG} -m ${PREFIX}/lib/ + ${LDCONFIG} -m ${PREFIX}/lib/gnucash/perl + cd ${LOCALBASE}/share/guile && ${LN} -sf ../slib . guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)" .include <bsd.port.mk> |