pkgsrc/math/guppi/Makefile

51 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.39 2004/04/14 19:30:22 jmmv Exp $
DISTNAME= Guppi-0.40.3
PKGNAME= ${DISTNAME:S/G/g/}
PKGREVISION= 9
CATEGORIES= math graphics
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/Guppi/0.40/}
EXTRACT_SUFX= .tar.bz2
2003-07-17 23:41:05 +02:00
MAINTAINER= tech-pkg@NetBSD.org
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)
#
# "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=
.else
2002-09-24 12:20:06 +02:00
CONFIGURE_ARGS= --disable-gnumeric
PLIST_SUBST+= GNUMERIC="@comment "
.endif
2002-09-24 12:20:06 +02:00
USE_BUILDLINK2= YES
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
USE_GNU_TOOLS+= make
2002-09-24 12:20:06 +02:00
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
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
.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"
.include "../../lang/guile14/buildlink2.mk"
.include "../../print/gnome-print/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"