# $NetBSD: Makefile,v 1.47 2002/03/21 13:32:27 martti Exp $ # DISTNAME= gnumeric-1.0.5 CATEGORIES= math gnome MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnumeric/} MAINTAINER= rh@netbsd.org HOMEPAGE= http://www.gnome.org/gnumeric/ COMMENT= Spreadsheet program from the GNOME project # wctype.h is found on NetBSD 1.5R and later ONLY_FOR_PLATFORM= NetBSD-1.5[R-Z]-* NetBSD-1.5Z[A-Z]-* NetBSD-1.[6-9]*-* # for Python support a shared libpython is required but not provided yet #BUILD_DEPENDS+= python>=2.0:../../lang/python GNU_CONFIGURE= YES USE_LIBTOOL= YES USE_X11BASE= YES USE_GMAKE= YES USE_PERL5= YES LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -Wl,-R${LOCALBASE}/lib LDFLAGS+= -lunicode CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+= --without-guile # needs CVS-only guile-1.5 CONFIGURE_ARGS+= --without-python LIBTOOL_OVERRIDE= ${WRKSRC}/libtool pre-configure: for i in ${WRKSRC}/plugins/*/Makefile.in ; do \ ${SED} <$$i >$$i.fixed \ -e 's/^\(COMPILE.*\)\\$$/\1 $${EXTRA_GNOME_CFLAGS} \\/' \ -e 's/^\(COMPILE.*[^\\]\)$$/\1 $${EXTRA_GNOME_CFLAGS}/' && \ ${MV} $$i.fixed $$i ; \ done .include "../../devel/gettext-lib/buildlink.mk" .include "../../textproc/libxml/buildlink.mk" .include "../../devel/libglade/buildlink.mk" .include "../../devel/libole2/buildlink.mk" .include "../../devel/oaf/buildlink.mk" .include "../../devel/gal/buildlink.mk" .include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk"