blob: 314819c6ffc03b2bdd7fb0301d2601e52119ea31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.8 2002/09/10 16:06:45 wiz Exp $
#
DISTNAME= gnumeric-0.75
PKGREVISION= 4
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
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_X11BASE= YES
USE_GMAKE= YES
USE_PERL5= YES
USE_BUILDLINK_ONLY= YES
LDFLAGS+= -Wl,-R${LOCALBASE}/lib
LDFLAGS+= -lunicode
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 "../../converters/psiconv/buildlink.mk"
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/libglade/buildlink.mk"
.include "../../devel/libole2/buildlink.mk"
.include "../../devel/oaf/buildlink.mk"
.include "../../devel/gal/buildlink.mk"
.include "../../textproc/libunicode/buildlink.mk"
.include "../../textproc/libxml/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|