47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.16 2010/04/17 06:57:05 ajacoutot Exp $
|
|
|
|
# XXX on goffice version change,
|
|
# update API_VERSION in math/gnumeric
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= document centric objects and utilities
|
|
|
|
GNOME_PROJECT= goffice
|
|
GNOME_VERSION= 0.8.2
|
|
|
|
SHARED_LIBS += goffice-0.8 0.0 # .8.0
|
|
CATEGORIES= devel
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
|
|
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 bz2 cairo
|
|
WANTLIB += dbus-1 dbus-glib-1 expat fontconfig freetype gconf-2
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 glitz gmodule-2.0
|
|
WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
|
|
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread-stubs xcb xml2
|
|
WANTLIB += z xcb-render xcb-render-util
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome
|
|
|
|
USE_X11= Yes
|
|
|
|
# XXX: Although we don't like to gsf-gnome, we depend on it's dependencies.
|
|
LIB_DEPENDS= gsf-1.>=114:libgsf-gnome-*:devel/libgsf,-gnome
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--enable-gtk-doc=no
|
|
|
|
SUBST_VARS= GNOME_VERSION
|
|
|
|
.include <bsd.port.mk>
|