freebsd-ports/math/gnuplot/Makefile
Tobias C. Berner fa81a4f5f8 accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the address
  not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

- accessibility/atk and accessibility/at-spi2-atk have been merged into
  accessibility/at-spi2-core

- accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk

PR:		269704
Exp-run by:	antoine
---
2023-03-02 06:23:10 +01:00

110 lines
2.8 KiB
Makefile

PORTNAME= gnuplot
PORTVERSION= 5.4.1
PORTREVISION= 2
CATEGORIES= math graphics
MASTER_SITES= SF
MAINTAINER= glewis@FreeBSD.org
COMMENT?= Command-line driven graphing utility
WWW= http://www.gnuplot.info/
LICENSE= Gnuplot
LICENSE_NAME= Gnuplot license
LICENSE_FILE= ${WRKSRC}/Copyright
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
CONFLICTS_INSTALL?= gnuplot-lite
USES+= compiler:c++11-lang cpe groff iconv pkgconfig readline
CPE_VENDOR= gnuplot_project
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+=--with-readline=gnu \
--without-linux-vga \
--without-lisp-files \
--without-tutorial \
--with-bitmap-terminals \
--with-qt=no
.if defined(LITE)
CONFIGURE_ARGS+=--disable-x11-mbfonts \
--disable-x11-external \
--disable-wxwidgets \
--without-x \
--without-ggi \
--without-gd \
--without-caca \
--without-wx \
--without-gpic \
--without-mif \
--without-cairo \
--without-lua \
--without-latex \
--without-kpsexpand
PLIST_SUB+= X11="@comment "
.else
USES+= gnome jpeg lua:53 ncurses tex xorg
USE_TEX= kpathsea
USE_GNOME+= atk cairo gtk30 gdkpixbuf2
USE_WX= 3.0+
USE_XORG+= x11
LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz \
libgd.so:graphics/gd \
libpng.so:graphics/png \
libwebp.so:graphics/webp \
libtiff.so:graphics/tiff
CONFIGURE_ARGS+=--with-gd=${LOCALBASE} \
--with-gpic \
--with-mif \
--with-kpsexpand \
--with-latex \
ac_cv_prog_KPSEXPAND=${LOCALBASE}/bin/kpsexpand \
ac_cv_prog_PLAINTEX=${LOCALBASE}/bin/tex \
ac_cv_prog_LATEX=${LOCALBASE}/bin/latex \
ac_cv_prog_PDFLATEX=${LOCALBASE}/bin/pdflatex
PLIST_SUB+= X11=""
.endif
TEST_TARGET= check
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES GRIDBOX
GRIDBOX_DESC= Use the gridbox optimization for hidden3d
GRIDBOX_CONFIGURE_OFF= --disable-h3d-quadtree --enable-h3d-gridbox
post-patch:
@${REINPLACE_CMD} -e \
'/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in
@${REINPLACE_CMD} -e \
's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e \
's|luaL_checkint(|(int)luaL_checkinteger(|' ${WRKSRC}/term/lua.trm
post-build-DOCS-on:
@cd ${WRKSRC}/docs && ${MAKE} groff
pre-install:
${MKDIR} ${STAGEDIR}${DATADIR}/5.4 ; \
${INSTALL_DATA} ${WRKSRC}/share/gnuplotrc \
${STAGEDIR}${DATADIR}/5.4/gnuplotrc.sample
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/psdoc
cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \
gnuplot.ps ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${STAGEDIR}${DOCSDIR}/psdoc
.if defined(LITE)
post-stage:
@cd ${STAGEDIR}${PREFIX} && ${RMDIR} libexec/gnuplot/5.4 libexec/gnuplot
.endif
.include <bsd.port.mk>