# $OpenBSD: Makefile,v 1.20 2007/05/20 13:39:56 martynas Exp $ COMMENT= "spreadsheet application for GNOME" VERSION= 1.4.3 DISTNAME= gnumeric-${VERSION} PKGNAME= ${DISTNAME}p5 CATEGORIES= math x11/gnome HOMEPAGE= http://www.gnome.org/projects/gnumeric/ # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xext \ Xrender art_lgpl_2 atk-1.0 audiofile \ bonobo-2 bonobo-activation bonoboui-2 bz2 c crypto \ esd fontconfig freetype gconf-2 gdk-x11-2.0 \ gdk_pixbuf-2.0 glade-2.0 glib-2.0 \ gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 \ gnomeprint-2-2 gnomevfs-2 gobject-2.0 \ gthread-2.0 gtk-x11-2.0 jpeg m pango-1.0 \ pangoft2-1.0 pangocairo-1.0 cairo glitz png \ popt pthread ssl xml2 z \ Xau Xcursor Xdmcp Xfixes Xi Xinerama Xrandr dbus-1 \ dbus-glib-1 expat util MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnumeric/1.4/} MODULES= devel/gettext BUILD_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \ :p5-XML-Parser-*:textproc/p5-XML-Parser RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \ gnomeprintui-2-2::x11/gnome/libgnomeprintui \ gsf-1.>=11,gsf-gnome-1.>=11::devel/libgsf,-gnome USE_X11= Yes USE_GMAKE= Yes USE_LIBTOOL= Yes CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --with-gnome CONFIGURE_ARGS+= --without-gda CONFIGURE_ARGS+= --without-gb CONFIGURE_ARGS+= --without-guile CONFIGURE_ARGS+= --without-psiconv CONFIGURE_ARGS+= --without-paradox CONFIGURE_ARGS+= --without-long-double CONFIGURE_ARGS+= --without-python CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnumeric CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" SUBST_VARS= VERSION post-patch: @ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update .include