2006-02-20 14:27:24 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2006/02/20 19:27:24 steven Exp $
|
2005-03-08 17:26:45 -05:00
|
|
|
|
2005-04-04 18:49:50 -04:00
|
|
|
NOT_FOR_ARCHS= ${LP64_ARCHS}
|
2005-02-23 20:47:15 -05:00
|
|
|
|
|
|
|
COMMENT= "Quicken-like money and finance manager"
|
2006-02-17 09:07:44 -05:00
|
|
|
DISTNAME= gnucash-1.8.12
|
2006-02-20 14:27:24 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2006-02-17 09:07:44 -05:00
|
|
|
DOCVER= 1.8.5
|
2005-11-27 05:54:10 -05:00
|
|
|
CATEGORIES= x11/gnome productivity
|
2005-12-29 17:44:00 -05:00
|
|
|
|
2006-02-17 09:07:44 -05:00
|
|
|
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
2005-02-23 20:47:15 -05:00
|
|
|
MASTER_SITE_GNUCASH= http://www.gnucash.org/pub/gnucash/ \
|
|
|
|
http://www.linas.org/pub/gnucash/gnucash/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUCASH:=sources/stable/} \
|
2006-02-17 09:07:44 -05:00
|
|
|
${MASTER_SITE_GNOME:=sources/gnucash/1.8/} \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:=gnucash/}
|
2005-02-23 20:47:15 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnucash.org/
|
|
|
|
|
2006-02-17 09:07:44 -05:00
|
|
|
SHARED_LIBS= gnc-app-file-gnome 0.0
|
|
|
|
|
|
|
|
|
2005-02-23 20:47:15 -05:00
|
|
|
WANTLIB= db gnomesupport wrap gnomecanvaspixbuf
|
2006-02-20 14:27:24 -05:00
|
|
|
WANTLIB+= ORBitCosNaming ICE glib audiofile IIOP jpeg z
|
2006-02-17 09:07:44 -05:00
|
|
|
WANTLIB+= ORBit ungif X11 oaf freetype gconf-1 gmodule SM
|
2006-02-20 14:27:24 -05:00
|
|
|
WANTLIB+= Xext esd tiff xml png gdk_imlib guile guile-ltdl Xi
|
2005-02-23 20:47:15 -05:00
|
|
|
WANTLIB+= gconf-gtk-1 art_lgpl ORBitutil gtk gdk ltdl m ghttp gnomeui
|
2006-02-17 09:07:44 -05:00
|
|
|
WANTLIB+= gdk_pixbuf gnomeprint gtkhtml-1.1.0.0 popt bonobo bonobox
|
2005-02-23 20:47:15 -05:00
|
|
|
|
|
|
|
MAINTAINER= Todd T. Fries <todd@OpenBSD.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-02-17 09:07:44 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2005-02-23 20:47:15 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2005-12-29 17:44:00 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2006-02-17 09:07:44 -05:00
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
2005-02-23 20:47:15 -05:00
|
|
|
CONFIGURE_ARGS+= ${ENABLE_SHARED} \
|
|
|
|
--with-glib-config=${LOCALBASE}/bin/glib-config \
|
2006-02-17 09:07:44 -05:00
|
|
|
--enable-nls \
|
|
|
|
--without-included-gettext \
|
|
|
|
--disable-guppi \
|
|
|
|
--disable-xim \
|
|
|
|
--with-libglade-config=${LOCALBASE}/bin/libglade-config
|
2005-02-23 20:47:15 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CFLAGS}" CFLAGS="${CFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}" \
|
|
|
|
LIBS="${LDFLAGS}"
|
|
|
|
|
|
|
|
LIB_DEPENDS= glade.4,glade-gnome::devel/libglade,gnome \
|
|
|
|
gnome.36::x11/gnome/libs \
|
|
|
|
gal.16::devel/gal \
|
|
|
|
gnomeprint.16::x11/gnome/print \
|
|
|
|
gdk_pixbuf.2::graphics/gdk-pixbuf \
|
|
|
|
lib/db4/db.=4:db-4.*:databases/db/v4 \
|
2006-02-20 14:27:24 -05:00
|
|
|
gwrap-glib,gwrap-wct::devel/g-wrap \
|
2005-02-23 20:47:15 -05:00
|
|
|
gtkhtml-1.1.3.5::www/gtkhtml
|
|
|
|
BUILD_DEPENDS= swig::devel/swig \
|
|
|
|
gnome-print::x11/gnome/print \
|
|
|
|
guppi::graphics/Guppi \
|
|
|
|
db::databases/db/v4 \
|
2006-02-17 09:07:44 -05:00
|
|
|
::devel/slib-guile \
|
2005-02-23 20:47:15 -05:00
|
|
|
::devel/libtool \
|
|
|
|
::lang/guile \
|
|
|
|
::devel/pkgconfig
|
|
|
|
|
|
|
|
RUN_DEPENDS+= ::devel/slib \
|
|
|
|
::devel/libtool \
|
|
|
|
::lang/guile \
|
|
|
|
::devel/pkgconfig
|
|
|
|
|
|
|
|
CFLAGS=-I${LOCALBASE}/include -I${X11BASE}/include -I${LOCALBASE}/share/libtool/libltdl -I${LOCALBASE}/include/libgtkhtml-1.1
|
|
|
|
LDFLAGS=-pthread -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl -liconv
|
|
|
|
|
2006-02-17 09:07:44 -05:00
|
|
|
LIBPATH=/usr/lib:/usr/X11R6/lib:${LOCALBASE}/lib
|
2005-02-23 20:47:15 -05:00
|
|
|
|
|
|
|
MAKE_FLAGS += DB_LIBS=-ldb LDFLAGS="${LDFLAGS}" LIBS="${LDFLAGS}"
|
|
|
|
MAKE_ENV += LIBRARY_PATH="${LIBPATH}"
|
|
|
|
MAKE_ENV += LD_LIBRARY_PATH="${LIBPATH}"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|