openbsd-ports/math/gnumeric/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.1.1.1 2003/10/14 20:28:20 marcm Exp $
COMMENT= "spreadsheet application for GNOME"
VERSION= 1.2.1
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
RUN_DEPENDS= :scrollkeeper->=0.3.11:textproc/scrollkeeper
LIB_DEPENDS= gal-2.0.3.0::devel/gal2 \
gsf-1.9.2::devel/libgsf \
gsf-gnome-1.9.2::devel/libgsf
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>