freebsd-ports/deskutils/gnucash/Makefile
Maxim Sobolev 19a718ac4c Convert all core GNOME1 components and some of the most popular GNOME1
apps to bsd.gnomeng.mk. The goal is to make GNOME1 framework more modular,
which will allow to use GNOME1 apps with GNOME2 desktop as well as considerably
reduce langht of dependency chains for GNOME1 ports (for example after this
commit AbiWord's dependency chain was reduced by 7 ports from 57 to only
50, while Gnumeric's - from 60 to 53 and so on).

The most of the GNOME1 apps are still not converted, so that lot of work is
still ahead.

Please report any unusual problems to gnome@FreeBSD.org.

Discussed with:	marcus
Reviewed by:	marcus
2002-07-11 17:16:10 +00:00

53 lines
1.6 KiB
Makefile

# Ports collection makefile for: gnucash
# Date created: Mon Feb 03, 1997
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= gnucash
PORTVERSION= 1.6.6
PORTREVISION= 1
CATEGORIES= deskutils 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
BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG \
eperl:${PORTSDIR}/lang/eperl
LIB_DEPENDS= guile.10:${PORTSDIR}/lang/guile \
guppi.16:${PORTSDIR}/math/guppi \
popt.0:${PORTSDIR}/devel/popt \
g-wrap-runtime-guile.2:${PORTSDIR}/devel/g-wrap
RUN_DEPENDS= ${LOCALBASE}/share/slib/Template.scm:${PORTSDIR}/lang/slib \
${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}/misc/p5-Finance-Quote
site_perl= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_XPM= yes
USE_PERL5= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack gnomeprint libglade gtkhtml libghttp
USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lintl"
MAN1= gnc-prices.1 gnucash.1
post-patch:
@${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.mk>