# $NetBSD: Makefile,v 1.29 2003/08/07 10:32:23 seb Exp $ DISTNAME= plplot-5.2.1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=plplot/} MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://plplot.sourceforge.net/ COMMENT= Scientific plotting package BUILD_DEPENDS+= m4>=1.4:../../devel/m4 USE_BUILDLINK2= # defined GNU_CONFIGURE= # defined USE_GMAKE= # defined USE_FORTRAN= # defined USE_X11= # defined USE_PERL5= build USE_LIBTOOL= # defined LIBTOOL_OVERRIDE= ${WRKSRC}/libtool CONFIGURE_ENV+= GDINCDIR=${BUILDLINK_PREFIX.gd}/include CONFIGURE_ENV+= GDLIBDIR=${BUILDLINK_PREFIX.gd}/lib CONFIGURE_ENV+= PNGINCDIR=${BUILDLINK_PREFIX.png}/include CONFIGURE_ENV+= PNGLIBDIR=${BUILDLINK_PREFIX.png}/lib CONFIGURE_ENV+= JPEGINCDIR=${BUILDLINK_PREFIX.jpeg}/include CONFIGURE_ENV+= JPEGLIBDIR=${BUILDLINK_PREFIX.jpeg}/lib CONFIGURE_ENV+= ZLIBINCDIR=${BUILDLINK_PREFIX.zlib}/include CONFIGURE_ENV+= ZLIBLIBDIR=${BUILDLINK_PREFIX.zlib}/lib CONFIGURE_ENV+= TCLINCDIR=${BUILDLINK_PREFIX.tcl}/include CONFIGURE_ENV+= TCLPRIVATEINCDIR=${BUILDLINK_PREFIX.tcl}/include/tcl/generic CONFIGURE_ENV+= TCLLIBDIR=${BUILDLINK_PREFIX.tcl}/lib CONFIGURE_ENV+= TKINCDIR=${BUILDLINK_PREFIX.tk}/include CONFIGURE_ENV+= TKPRIVATEINCDIR=${BUILDLINK_PREFIX.tk}/include/tk/generic CONFIGURE_ENV+= TKLIBDIR=${BUILDLINK_PREFIX.tk}/lib CONFIGURE_ARGS+= --enable-drivers CONFIGURE_ARGS+= --enable-dyndrivers CONFIGURE_ARGS+= --enable-cxx CONFIGURE_ARGS+= --enable-f77 CONFIGURE_ARGS+= --disable-python CONFIGURE_ARGS+= --enable-tcl CONFIGURE_ARGS+= --disable-itcl CONFIGURE_ARGS+= --disable-java CONFIGURE_ARGS+= --disable-octave CONFIGURE_ARGS+= --disable-python CONFIGURE_ARGS+= --disable-itcl CONFIGURE_ARGS+= --disable-dp CONFIGURE_ARGS+= --without-freetype CONFIGURE_ARGS+= --without-pthreads CONFIGURE_ARGS+= --without-qhull CONFIGURE_ARGS+= --without-csa post-patch: ${MV} -f ${WRKSRC}/src/plctrl.c ${WRKSRC}/src/plctrl.c.dist ${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${WRKSRC}/src/plctrl.c.dist \ > ${WRKSRC}/src/plctrl.c post-install: cd ${PREFIX}/bin && ${LN} -fs libtool plplot_libtool .include "../../graphics/jpeg/buildlink2.mk" .include "../../graphics/png/buildlink2.mk" .include "../../graphics/gd/buildlink2.mk" .include "../../devel/zlib/buildlink2.mk" .include "../../devel/zlib/buildlink2.mk" .include "../../devel/libtool/buildlink2.mk" .include "../../x11/tk/buildlink2.mk" .include "../../lang/tcl/buildlink2.mk" .include "../../mk/autoconf.mk" .include "../../mk/bsd.pkg.mk"