3 DISTNAME= gnuplot-4.6.0
6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://gnuplot.sourceforge.net/
10 COMMENT= Portable interactive, function plotting utility
12 CONFLICTS+= gnuplot-nox11-[0-9]*
14 PATCHDIR= ${.CURDIR}/../../graphics/gnuplot/patches
15 DISTINFO_FILE= ${.CURDIR}/../../graphics/gnuplot/distinfo
17 PKG_INSTALLATION_TYPES= overwrite pkgviews
18 PKG_DESTDIR_SUPPORT= user-destdir
20 USE_TOOLS+= makeinfo pkg-config gmake
22 #CONFIGURE_ARGS+= --enable-history-file
23 CONFIGURE_ARGS+= --with-plot=${PREFIX}
24 CONFIGURE_ARGS+= --without-latex
25 CONFIGURE_ARGS+= --without-lisp-files
26 CONFIGURE_ARGS+= --without-tutorial
30 # Use BSD editline wherever possible:
31 .include "../../mk/bsd.prefs.mk"
33 .if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
34 CONFIGURE_ARGS+= --with-readline=bsd
35 .include "../../mk/curses.buildlink3.mk"
37 CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
38 .include "../../devel/readline/buildlink3.mk"
41 # Make this available to patch-ah so the font path can include pkgsrc fonts.
42 SUBST_CLASSES+= fontpath
43 SUBST_STAGE.fontpath= pre-configure
44 SUBST_MESSAGE.fontpath= Fixing font path.
45 SUBST_FILES.fontpath= src/variable.c
46 SUBST_SED.fontpath= -e 's,@PKGSRC_PREFIX@,"${PREFIX}",'
50 .include "../../converters/libiconv/buildlink3.mk"
51 .include "../../devel/pango/buildlink3.mk"
52 .include "../../graphics/cairo/buildlink3.mk"
53 .include "../../graphics/plotutils/buildlink3.mk"
54 .include "../../mk/bsd.pkg.mk"