# $NetBSD: Makefile,v 1.107 2016/03/05 11:28:37 jperkin Exp $ DISTNAME= gnuplot-5.0.2 API_VERSION= ${PKGVERSION_NOREV:C/([0-9])\.([0-9])\.([0-9])/\1.\2/} CATEGORIES+= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gnuplot.sourceforge.net/ COMMENT= Portable interactive, function plotting utility PKGREVISION= 1 #LICENSE= gnuplot + BSD CONFLICTS+= gnuplot-nox11-[0-9]* PATCHDIR= ${.CURDIR}/../../graphics/gnuplot/patches DISTINFO_FILE= ${.CURDIR}/../../graphics/gnuplot/distinfo USE_LANGUAGES= c USE_TOOLS+= makeinfo pkg-config gmake GNU_CONFIGURE= yes #CONFIGURE_ARGS+= --enable-history-file CONFIGURE_ARGS+= --without-latex CONFIGURE_ARGS+= --without-tutorial CONFIGURE_ARGS+= ac_cv_prog_EMACS= INFO_FILES= yes CONFIGURE_ARGS+= --with-readline=bsd .include "../../mk/readline.buildlink3.mk" .include "../../mk/curses.buildlink3.mk" PLIST_SUBST+= API_VERSION=${API_VERSION} LDFLAGS.SunOS+= -liconv # Make this available to patch-ah so the font path can include pkgsrc fonts. SUBST_CLASSES+= fontpath SUBST_STAGE.fontpath= pre-configure SUBST_MESSAGE.fontpath= Fixing font path. SUBST_FILES.fontpath= src/variable.c SUBST_SED.fontpath= -e 's,@PKGSRC_PREFIX@,"${PREFIX}",' .include "options.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../mk/bsd.pkg.mk"