. Since we're depending on teTeX-base anyway, add --with-kpsexpand to
CONFIGURE_ARGS. . Add support for plotutils. This is based on the diffs in the referenced PR, but is done somewhat differently and the merge isn't complete (yet). PR: 111548 Submitted by: bf<bf2006a@yahoo.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gnuplot
|
||||
PORTVERSION= 4.2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@@ -16,16 +17,18 @@ COMMENT= A command-driven interactive function plotting program
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ARGS= --without-tutorial \
|
||||
--without-linux-vga \
|
||||
CONFIGURE_ARGS= --with-kpsexpand \
|
||||
--with-lasergnu \
|
||||
--with-readline=gnu \
|
||||
--without-linux-vga \
|
||||
--without-lisp-files \
|
||||
--with-readline=gnu
|
||||
--without-tutorial
|
||||
|
||||
BUILD_DEPENDS+=latex:${PORTSDIR}/print/teTeX-base
|
||||
|
||||
OPTIONS= GD "Enable GD support" on \
|
||||
PDF "Enable PDF support" on
|
||||
PDF "Enable PDF support" on \
|
||||
PLOT "Enable plot support" on
|
||||
|
||||
MAN1= gnuplot.1 lasergnu.1
|
||||
INFO= gnuplot
|
||||
@@ -52,6 +55,13 @@ LIB_DEPENDS+= pdf.8:${PORTSDIR}/print/pdflib
|
||||
CONFIGURE_ARGS+= --with-pdf=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_PLOT)
|
||||
CONFIGURE_ARGS+= --without-plot
|
||||
.else
|
||||
LIB_DEPENDS+= plot.4:${PORTSDIR}/graphics/plotutils
|
||||
CONFIGURE_ARGS+= --with-plot=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
|
||||
|
||||
Reference in New Issue
Block a user