8e6304f974
register x11/gtk+2 for ports depending on gconf2 that don't have another dependency that would bring it. discussed with jasper@
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.34 2011/05/14 21:29:03 ajacoutot Exp $
|
|
|
|
# XXX on goffice version change,
|
|
# update API_VERSION in math/gnumeric, bump PKGNAME then change the
|
|
# goffice dependency spec according to the new version.
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= document centric objects and utilities
|
|
|
|
GNOME_PROJECT= goffice
|
|
GNOME_VERSION= 0.8.14
|
|
|
|
REVISION= 0
|
|
|
|
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 += expat fontconfig freetype gconf-2
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 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 gsf-1 gconf-2 GL Xxf86vm drm xcb-shm
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome
|
|
|
|
LIB_DEPENDS= devel/libgsf \
|
|
devel/gconf2 \
|
|
x11/gtk+2
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--disable-gtk-doc
|
|
|
|
# XXX move to gsettings
|
|
CONFIGURE_ARGS += --with-config-backend=gconf
|
|
|
|
SUBST_VARS= GNOME_VERSION
|
|
|
|
.include <bsd.port.mk>
|