diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-24 10:20:06 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-24 10:20:06 +0000 |
commit | b67bb1603b1536e6f515f102febcfc187adf7487 (patch) | |
tree | 808ea1a31d9e6dd9092294d436c0f16cf198f5b7 /math/guppi/Makefile | |
parent | dbcf956d8da860d26dbd909d77235097d82802cb (diff) | |
download | pkgsrc-b67bb1603b1536e6f515f102febcfc187adf7487.tar.gz |
buildlink1 -> buildlink2
Diffstat (limited to 'math/guppi/Makefile')
-rw-r--r-- | math/guppi/Makefile | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/math/guppi/Makefile b/math/guppi/Makefile index f8c2bf9b086..1c385e73e79 100644 --- a/math/guppi/Makefile +++ b/math/guppi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2002/09/10 16:06:45 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2002/09/24 10:20:06 jlam Exp $ DISTNAME= Guppi-0.40.3 PKGNAME= ${DISTNAME:S/G/g/} @@ -11,38 +11,37 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.gnome.org/guppi/ COMMENT= Plot program with integrated statistics capabilities +.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. -.if exists(/usr/include/wctype.h) -DEPENDS+= gnumeric>=1.0.9:../../math/gnumeric - -CONFIGURE_ARGS= --enable-gnumeric -PLIST_SUBST+= GNUMERIC= +# +DEPENDS+= gnumeric>=1.0.9:../../math/gnumeric +CONFIGURE_ARGS= --enable-gnumeric +PLIST_SUBST+= GNUMERIC= .else -CONFIGURE_ARGS= --disable-gnumeric -PLIST_SUBST+= GNUMERIC="@comment " +CONFIGURE_ARGS= --disable-gnumeric +PLIST_SUBST+= GNUMERIC="@comment " .endif -DEPENDS+= guile>=1.4:../../lang/guile +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 +USE_BUILDLINK2= YES +USE_X11BASE= YES +USE_GMAKE= YES +GNU_CONFIGURE= YES -GNU_CONFIGURE= YES -USE_GMAKE= YES -USE_LIBTOOL= YES -USE_X11BASE= YES - -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +USE_LIBTOOL= YES +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool PLIST_SUBST+= LOCALBASE=${LOCALBASE} post-install: ${TEST} ${PREFIX} = ${LOCALBASE} || \ ${LN} -fs ${PREFIX}/share/aclocal/libguppi.m4 \ - ${LOCALBASE}/share/aclocal/libguppi.m4 + ${LOCALBASE}/share/aclocal/libguppi.m4 + +.include "../../devel/libglade/buildlink2.mk" +.include "../../devel/readline/buildlink2.mk" +.include "../../x11/gnome-core/buildlink2.mk" -.include "../../devel/libglade/buildlink.mk" -.include "../../devel/readline/buildlink.mk" -.include "../../x11/gnome-core/buildlink.mk" .include "../../mk/bsd.pkg.mk" |