summaryrefslogtreecommitdiff
path: root/math/gnumeric0/Makefile
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2002-01-17 13:12:00 +0000
committermartti <martti@pkgsrc.org>2002-01-17 13:12:00 +0000
commit6328b07707dbee981dffa094e18b8fb1c879c7f2 (patch)
tree634d9855312488f10b8fcb75da278b2e8c92524e /math/gnumeric0/Makefile
parentee0fe1fba17f4d12b1469973e8dd2ff4c2c1a793 (diff)
downloadpkgsrc-6328b07707dbee981dffa094e18b8fb1c879c7f2.tar.gz
Imported the old gnumeric-0.75 as pkgsrc/math/gnumeric0.
Diffstat (limited to 'math/gnumeric0/Makefile')
-rw-r--r--math/gnumeric0/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/math/gnumeric0/Makefile b/math/gnumeric0/Makefile
new file mode 100644
index 00000000000..ffc8215a3cb
--- /dev/null
+++ b/math/gnumeric0/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/17 13:12:00 martti Exp $
+#
+
+DISTNAME= gnumeric-0.75
+CATEGORIES= math gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnumeric/}
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.gnome.org/gnumeric/
+COMMENT= Powerful and easy to use spreadsheet program from the GNOME project
+
+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
+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 "../../lang/gb/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"