Files
ports/math/gnuplot/Makefile
T

67 lines
1.4 KiB
Makefile
Raw Normal View History

2011-01-06 23:45:07 +00:00
COMMENT = command-driven interactive function plotting program
1998-05-17 04:30:57 +00:00
V = 5.4
PATCHLEVEL = 8
2011-01-06 23:45:07 +00:00
DISTNAME = gnuplot-${V}.${PATCHLEVEL}
CATEGORIES = math graphics
2023-09-27 09:27:52 +00:00
SITES = ${SITE_SOURCEFORGE:=gnuplot/}
1998-05-17 04:30:57 +00:00
2011-01-06 23:45:07 +00:00
HOMEPAGE = http://www.gnuplot.info/
2020-04-06 00:04:31 +00:00
MAINTAINER = Paul Irofti <paul@irofti.net>
2017-11-04 17:21:41 +00:00
# see Copyright in source
# https://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright
PERMIT_PACKAGE = Yes
2019-05-21 09:34:30 +00:00
WANTLIB += c cerf m curses ereadline ${COMPILER_LIBCXX} z
2013-05-29 14:32:11 +00:00
COMPILER = base-clang ports-gcc base-gcc
2017-11-04 17:21:41 +00:00
LIB_DEPENDS += devel/readline \
math/libcerf
2000-03-17 20:47:07 +00:00
2011-01-06 23:45:07 +00:00
FLAVORS = no_cairo no_x11
FLAVOR ?=
1998-05-17 04:30:57 +00:00
2011-01-06 23:45:07 +00:00
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --without-linux-vga \
--without-latex \
--without-tutorial \
2017-11-04 17:21:41 +00:00
--with-readline=${LOCALBASE} \
2011-01-06 23:45:07 +00:00
--disable-wxwidgets \
2017-11-04 17:21:41 +00:00
--with-qt=no \
2011-10-02 13:14:15 +00:00
--without-lua \
2011-06-23 14:16:46 +00:00
--without-pdf
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
2011-01-06 23:45:07 +00:00
LDFLAGS="-L${LOCALBASE}/lib"
2008-05-23 21:06:46 +00:00
2017-11-04 17:21:41 +00:00
USE_GMAKE = Yes
2011-01-06 23:45:07 +00:00
FAKE_FLAGS = appdefaultdir="${PREFIX}/lib/X11/app-defaults/"
2000-09-22 20:34:56 +00:00
2013-03-11 11:20:26 +00:00
TEST_IS_INTERACTIVE = x11
2011-01-06 23:45:07 +00:00
SUBST_VARS = V
2007-03-28 16:50:58 +00:00
2011-12-05 22:36:54 +00:00
.if ${FLAVOR:Mno_x11}
2011-01-06 23:45:07 +00:00
CONFIGURE_ARGS += --without-x \
--without-gd
2000-09-22 20:34:56 +00:00
.else
LIB_DEPENDS += graphics/gd
WANTLIB += X11 gd
2010-11-07 20:33:58 +00:00
CONFIGURE_ARGS += --with-x
2000-09-22 20:34:56 +00:00
.endif
1998-05-17 04:30:57 +00:00
2011-12-05 22:36:54 +00:00
.if ${FLAVOR:Mno_cairo} || ${FLAVOR:Mno_x11}
2011-01-06 23:45:07 +00:00
CONFIGURE_ARGS += --without-cairo
.else
LIB_DEPENDS += converters/libiconv \
devel/gettext,-runtime \
2017-11-04 17:21:41 +00:00
devel/pango \
2011-01-06 23:45:07 +00:00
graphics/cairo
2022-03-31 17:16:30 +00:00
WANTLIB += cairo gobject-2.0 glib-2.0 intl pango-1.0 pangocairo-1.0 harfbuzz
2011-01-06 23:45:07 +00:00
.endif
1998-05-17 04:30:57 +00:00
.include <bsd.port.mk>