2007-05-20 09:39:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2007/05/20 13:39:56 martynas Exp $
|
2003-10-14 16:28:20 -04:00
|
|
|
|
|
|
|
COMMENT= "spreadsheet application for GNOME"
|
|
|
|
|
2005-05-27 13:50:26 -04:00
|
|
|
VERSION= 1.4.3
|
2003-10-14 16:28:20 -04:00
|
|
|
DISTNAME= gnumeric-${VERSION}
|
2007-05-20 09:39:56 -04:00
|
|
|
PKGNAME= ${DISTNAME}p5
|
2005-08-27 17:10:38 -04:00
|
|
|
|
2003-10-14 16:28:20 -04:00
|
|
|
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
|
2006-06-13 09:19:08 -04:00
|
|
|
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xext \
|
2006-09-18 07:50:39 -04:00
|
|
|
Xrender art_lgpl_2 atk-1.0 audiofile \
|
2004-12-22 01:02:26 -05:00
|
|
|
bonobo-2 bonobo-activation bonoboui-2 bz2 c crypto \
|
2006-09-18 07:50:39 -04:00
|
|
|
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 \
|
2007-05-20 09:39:56 -04:00
|
|
|
popt pthread ssl xml2 z \
|
|
|
|
Xau Xcursor Xdmcp Xfixes Xi Xinerama Xrandr dbus-1 \
|
|
|
|
dbus-glib-1 expat util
|
|
|
|
|
2003-10-14 16:28:20 -04:00
|
|
|
|
2004-12-10 15:39:22 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnumeric/1.4/}
|
2003-10-14 16:28:20 -04:00
|
|
|
|
2004-08-10 05:14:47 -04:00
|
|
|
MODULES= devel/gettext
|
2003-10-14 16:28:20 -04:00
|
|
|
|
2006-12-16 07:22:32 -05:00
|
|
|
BUILD_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
2004-01-28 14:56:50 -05:00
|
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
2004-04-11 21:30:25 -04:00
|
|
|
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper
|
2003-12-14 22:31:13 -05:00
|
|
|
LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \
|
|
|
|
gnomeprintui-2-2::x11/gnome/libgnomeprintui \
|
2006-08-03 16:04:51 -04:00
|
|
|
gsf-1.>=11,gsf-gnome-1.>=11::devel/libgsf,-gnome
|
2003-10-14 16:28:20 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2005-05-27 13:50:26 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2003-10-14 16:28:20 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2004-12-10 15:39:22 -05:00
|
|
|
CONFIGURE_ARGS+= --with-gnome
|
2003-10-14 16:28:20 -04:00
|
|
|
CONFIGURE_ARGS+= --without-gda
|
|
|
|
CONFIGURE_ARGS+= --without-gb
|
|
|
|
CONFIGURE_ARGS+= --without-guile
|
2004-12-10 15:39:22 -05:00
|
|
|
CONFIGURE_ARGS+= --without-psiconv
|
|
|
|
CONFIGURE_ARGS+= --without-paradox
|
2003-10-14 16:28:20 -04:00
|
|
|
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>
|