2004-04-14 21:30:22 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2004/04/14 19:30:22 jmmv Exp $
|
2001-07-01 02:05:50 +02:00
|
|
|
|
2002-05-15 22:44:15 +02:00
|
|
|
DISTNAME= Guppi-0.40.3
|
2001-11-13 17:23:23 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/G/g/}
|
2004-03-08 20:40:36 +01:00
|
|
|
PKGREVISION= 9
|
2001-07-01 02:05:50 +02:00
|
|
|
CATEGORIES= math graphics
|
2002-10-19 12:54:42 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/Guppi/0.40/}
|
2001-07-01 02:05:50 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-07-01 02:05:50 +02:00
|
|
|
HOMEPAGE= http://www.gnome.org/guppi/
|
|
|
|
COMMENT= Plot program with integrated statistics capabilities
|
|
|
|
|
2002-09-24 12:20:06 +02:00
|
|
|
.if exists(/usr/include/wctype.h)
|
|
|
|
#
|
2002-08-12 21:43:20 +02:00
|
|
|
# "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.
|
2002-09-24 12:20:06 +02:00
|
|
|
#
|
|
|
|
DEPENDS+= gnumeric>=1.0.9:../../math/gnumeric
|
|
|
|
CONFIGURE_ARGS= --enable-gnumeric
|
|
|
|
PLIST_SUBST+= GNUMERIC=
|
2002-08-12 21:43:20 +02:00
|
|
|
.else
|
2002-09-24 12:20:06 +02:00
|
|
|
CONFIGURE_ARGS= --disable-gnumeric
|
|
|
|
PLIST_SUBST+= GNUMERIC="@comment "
|
2002-08-12 21:43:20 +02:00
|
|
|
.endif
|
2002-05-15 22:44:15 +02:00
|
|
|
|
2002-09-24 12:20:06 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2004-04-14 21:30:22 +02:00
|
|
|
USE_DIRS+= xdg-1.1
|
2002-12-01 16:56:54 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2002-09-24 12:20:06 +02:00
|
|
|
USE_X11BASE= YES
|
2004-01-24 14:51:13 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2002-09-24 12:20:06 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
2001-09-24 11:51:09 +02:00
|
|
|
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
|
2001-07-01 02:05:50 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${TEST} ${PREFIX} = ${LOCALBASE} || \
|
|
|
|
${LN} -fs ${PREFIX}/share/aclocal/libguppi.m4 \
|
2002-09-24 12:20:06 +02:00
|
|
|
${LOCALBASE}/share/aclocal/libguppi.m4
|
|
|
|
|
2004-01-06 19:52:33 +01:00
|
|
|
.include "../../devel/bonobo/buildlink2.mk"
|
|
|
|
.include "../../devel/gal/buildlink2.mk"
|
2002-09-24 12:20:06 +02:00
|
|
|
.include "../../devel/libglade/buildlink2.mk"
|
|
|
|
.include "../../devel/readline/buildlink2.mk"
|
2003-01-07 04:56:17 +01:00
|
|
|
.include "../../lang/guile14/buildlink2.mk"
|
2004-01-06 19:52:33 +01:00
|
|
|
.include "../../print/gnome-print/buildlink2.mk"
|
|
|
|
.include "../../x11/gnome-libs/buildlink2.mk"
|
2001-07-01 02:05:50 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|