Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,21 +1,20 @@
# $NetBSD: Makefile,v 1.86 2014/02/12 23:18:00 tron Exp $
# $NetBSD: Makefile,v 1.96 2015/03/03 15:22:20 mef Exp $
DISTNAME= gnuplot-4.6.4
PKGREVISION= 1
DISTNAME= gnuplot-5.0.0
API_VERSION= ${PKGVERSION: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
#LICENSE= gnuplot + BSD
CONFLICTS+= gnuplot-nox11-[0-9]*
PATCHDIR= ${.CURDIR}/../../graphics/gnuplot/patches
DISTINFO_FILE= ${.CURDIR}/../../graphics/gnuplot/distinfo
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c
USE_TOOLS+= makeinfo pkg-config gmake
GNU_CONFIGURE= yes
@@ -27,10 +26,15 @@ CONFIGURE_ARGS+= --without-tutorial
CONFIGURE_ARGS+= ac_cv_prog_EMACS=
INFO_FILES= yes
# to build doc/gnuplot.pdf
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
BUILD_DEPENDS+= tex-ucs-[0-9]*:../../print/tex-ucs
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.
@@ -40,6 +44,13 @@ SUBST_MESSAGE.fontpath= Fixing font path.
SUBST_FILES.fontpath= src/variable.c
SUBST_SED.fontpath= -e 's,@PKGSRC_PREFIX@,"${PREFIX}",'
post-build:
(cd ${WRKSRC}/docs; ${GMAKE} gnuplot.pdf)
post-install:
(cd ${WRKSRC}/docs; \
${INSTALL_DATA} gnuplot.pdf ${DESTDIR}${PREFIX}/share/gnuplot/${API_VERSION})
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"