blob: 72c72e8b7f83817a570823de0033fd7d4b138ac4 (
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
44
45
46
47
|
# $NetBSD: Makefile,v 1.18 2002/08/12 19:45:37 tron Exp $
DISTNAME= Guppi-0.40.3
PKGNAME= ${DISTNAME:S/G/g/}
CATEGORIES= math graphics
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/Guppi/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnome.org/guppi/
COMMENT= Plot program with integrated statistics capabilities
# "guppi" only accepts newer versions of the "gnumeric" package which
# cannot be build on all platforms. We only enable "gnumeric" support
# on platforms which can build the "gnumeric" 1.0.x packages.
.if exists(/usr/include/wctype.h)
DEPENDS+= gnumeric>=1.0.9:../../math/gnumeric
CONFIGURE_ARGS= --enable-gnumeric
PLIST_SUBST+= GNUMERIC=
.else
CONFIGURE_ARGS= --disable-gnumeric
PLIST_SUBST+= GNUMERIC="@comment "
.endif
DEPENDS+= guile>=1.4:../../lang/guile
BUILDLINK_DEPENDS.gnome-core= gnome-core>=1.4.0.4nb1
BUILDLINK_DEPENDS.gdk-pixbuf= gdk-pixbuf>=0.11.0nb1
BUILDLINK_DEPENDS.gdk-pixbuf-gnome= gdk-pixbuf-gnome>=0.11.0nb1
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
USE_X11BASE= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
post-install:
${TEST} ${PREFIX} = ${LOCALBASE} || \
${LN} -fs ${PREFIX}/share/aclocal/libguppi.m4 \
${LOCALBASE}/share/aclocal/libguppi.m4
.include "../../devel/libglade/buildlink.mk"
.include "../../devel/readline/buildlink.mk"
.include "../../x11/gnome-core/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|