openbsd-ports/math/gnumeric/Makefile
2004-01-28 19:56:50 +00:00

50 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2004/01/28 19:56:50 marcm Exp $
COMMENT= "spreadsheet application for GNOME"
VERSION= 1.2.5
DISTNAME= gnumeric-${VERSION}
CATEGORIES= math x11/gnome
HOMEPAGE= http://www.gnome.org/projects/gnumeric/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnumeric/1.2/}
MODULES= gettext
BUILD_DEPENDS= :pkgconfig->=0.14.0p1:devel/pkgconfig \
:scrollkeeper->=0.3.11:textproc/scrollkeeper \
:p5-XML-Parser-*:textproc/p5-XML-Parser
RUN_DEPENDS= :scrollkeeper->=0.3.11:textproc/scrollkeeper
LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \
gnomeprintui-2-2::x11/gnome/libgnomeprintui \
gsf-1.9.2,gsf-gnome-1.9.2::devel/libgsf,-gnome
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-bonobo
CONFIGURE_ARGS+= --without-gda
CONFIGURE_ARGS+= --without-gb
CONFIGURE_ARGS+= --without-guile
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 <bsd.port.mk>