92 lines
2.8 KiB
Makefile
92 lines
2.8 KiB
Makefile
# $OpenBSD: Makefile,v 1.53 2013/03/11 11:37:55 espie Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = personal and small-business financial-accounting software
|
|
|
|
GNOME_PROJECT = gnucash
|
|
GNOME_VERSION = 2.4.11
|
|
DOC_VERSION = 2.2.0
|
|
EXTRACT_SUFX = .tar.bz2
|
|
REVISION = 1
|
|
|
|
SHARED_LIBS += gnc-qof 1.4 # 1.4
|
|
SHARED_LIBS += gnc-core-utils 0.0 # unknown
|
|
SHARED_LIBS += gnc-module 0.0 # unknown
|
|
SHARED_LIBS += gnc-backend-xml-utils 0.0 # unknown
|
|
SHARED_LIBS += gnc-backend-sql 0.0 # unknown
|
|
SHARED_LIBS += gnc-business-ledger 0.0 # unknown
|
|
SHARED_LIBS += gnc-gnome 0.0 # unknown
|
|
SHARED_LIBS += gncmod-qif 0.0 # unknown
|
|
|
|
CATEGORIES = productivity
|
|
|
|
HOMEPAGE = http://www.gnucash.org/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += GL ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite
|
|
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
|
|
WANTLIB += Xrender Xxf86vm art_lgpl_2 atk-1.0 bonobo-2 bonobo-activation
|
|
WANTLIB += bonoboui-2 bz2 c cairo canberra crypto dbi dbus-1 dbus-glib-1
|
|
WANTLIB += drm enchant expat ffi fontconfig freetype gailutil
|
|
WANTLIB += gcrypt gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0
|
|
WANTLIB += glib-2.0 gmodule-2.0 gmp gnome-2 gnome-keyring gnomecanvas-2
|
|
WANTLIB += gnomeui-2 gnomevfs-2 gobject-2.0 goffice-0.8 gpg-error
|
|
WANTLIB += gsf-1 gthread-2.0 gtk-x11-2.0 gtkhtml-3.14 guile ltdl
|
|
WANTLIB += m ogg pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
|
|
WANTLIB += png popt pthread pthread-stubs ssl stdc++ util vorbis
|
|
WANTLIB += vorbisfile xcb xcb-render xcb-shm xml2 z harfbuzz icudata
|
|
WANTLIB += icule icuuc
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gnucash/} \
|
|
${HOMEPAGE}pub/gnucash/sources/stable/
|
|
|
|
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
|
|
gnucash-docs-${DOC_VERSION}.tar.gz
|
|
|
|
MODULES = devel/gettext \
|
|
x11/gnome \
|
|
devel/gconf2
|
|
|
|
MODGNOME_DESKTOP_FILE = Yes
|
|
MODGNOME_ICON_CACHE = Yes
|
|
MODGCONF2_SCHEMAS_DIR = gnucash
|
|
MODGNOME_TOOLS = yelp
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = devel/slib-guile
|
|
LIB_DEPENDS = databases/libdbi \
|
|
devel/goffice08 \
|
|
lang/guile \
|
|
www/gtkhtml3 \
|
|
x11/gnome/libgnomeui
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
# --disable-ofx until libofx/libsp is fixed to work with .so
|
|
CONFIGURE_ARGS += --disable-doxygen \
|
|
--disable-ofx
|
|
MODGNOME_CPPFLAGS = -I${X11BASE}/include
|
|
# configure checks for pthread_mutex_init(3)
|
|
MODGNOME_LDFLAGS = -pthread
|
|
|
|
# see patch-src_core-utils_gnc-path_c
|
|
CFLAGS += -DGCONFDIR='\"/var/db\"'
|
|
|
|
FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/
|
|
|
|
# Steps to build the docs.
|
|
DOC_DIR = ${WRKDIR}/gnucash-docs-${DOC_VERSION}
|
|
post-configure:
|
|
cd ${DOC_DIR} && ${SETENV} ${CONFIGURE_ENV} /bin/sh ./configure
|
|
|
|
post-build:
|
|
cd ${DOC_DIR} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
|
|
|
|
post-install:
|
|
cd ${DOC_DIR} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} install
|
|
|
|
.include <bsd.port.mk>
|