diff options
author | obrien <obrien@FreeBSD.org> | 2000-03-26 21:16:31 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-03-26 21:16:31 +0800 |
commit | 706da76dd976834a62342c0c4bf4e4a1e6959650 (patch) | |
tree | 3212ae10b665dd180f16a7b7768c68852acc04e3 /finance/gnucash-devel/Makefile | |
parent | eb2eadeb72cef3c8e322c4eb8fdf6b8e450fdf32 (diff) | |
download | freebsd-ports-gnome-706da76dd976834a62342c0c4bf4e4a1e6959650.tar.gz freebsd-ports-gnome-706da76dd976834a62342c0c4bf4e4a1e6959650.tar.zst freebsd-ports-gnome-706da76dd976834a62342c0c4bf4e4a1e6959650.zip |
Upgrade to version 1.3.3.
Submitted by: Matthew Condell <mcondell@bbn.com>
For whom I cannot give enough praise for upgrading one of
the most difficult ports I know of.
Diffstat (limited to 'finance/gnucash-devel/Makefile')
-rw-r--r-- | finance/gnucash-devel/Makefile | 48 |
1 files changed, 36 insertions, 12 deletions
diff --git a/finance/gnucash-devel/Makefile b/finance/gnucash-devel/Makefile index 6b93c98eafc2..22b8a2d07d5b 100644 --- a/finance/gnucash-devel/Makefile +++ b/finance/gnucash-devel/Makefile @@ -1,30 +1,54 @@ # ex:ts=8 # Ports collection makefile for: gnucash -# Version required: 0.0 +# Version required: 1.0.18 # Date created: Mon Feb 03, 1997 # Whom: David O'Brien (obrien@NUXI.com) # # $FreeBSD$ # -DISTNAME= xacc-1.0.18 -PKGNAME= gnucash-1.0.18 +DISTNAME= gnucash-1.3.3 CATEGORIES= deskutils -MASTER_SITES= http://www.gnucash.org/pub/xacc/ \ - ftp://ftp.gnucash.org/pub/gnucash/xacc/ +MASTER_SITES= ftp://www.gnucash.org/pub/gnucash/gnucash/sources/unstable/1.3.x/1.3.3/ MAINTAINER= obrien@FreeBSD.org -REQUIRES_MOTIF= yes +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 GNU_CONFIGURE= yes -ALL_TARGET= depend default +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 -pre-build: - @${LN} -sf ${WRKSRC}/lib/Xbae-4.6.2-linas/src ${WRKSRC}/lib/Xbae-4.6.2-linas/Xbae +post-configure: + ${PERL} -pi.orig -e 's:/usr/lib/gnucash:${PREFIX}/lib/gnucash:g' \ + ${WRKSRC}/src/quotes/gnc-prices post-install: - @strip ${PREFIX}/bin/xacc.bin - @${LN} -f ${PREFIX}/bin/xacc ${PREFIX}/bin/gnucash - @${LN} -f ${PREFIX}/bin/xacc.bin ${PREFIX}/bin/gnucash.bin + @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)" .include <bsd.port.mk> |