ports/math/gnuplot/Makefile
Muhammad Moinur Rahman 13b47da7c8
Merge remote-tracking branch 'origin/pristine'
* origin/pristine: (2419 commits)
  devel/arduino-irremote: Update to 4.4.3
  graphics/rigsofrods-pagedgeometry: Rename to graphics/pagedgeometry, switch upstream with fix build with ogre3d 1.14
  devel/py-buildbot: Update version 3.11.9=>4.3.0
  devel/py-buildbot-worker: Update version 3.11.9=>4.3.0
  devel/py-buildbot-www: Update version 3.11.9=>4.3.0
  devel/py-buildbot-wsgi-dashboards: New port
  devel/py-buildbot-waterfall-view: Update version 3.11.9=>4.3.0
  devel/py-buildbot-react-console-view: Update version 3.11.9=>4.0.4
  devel/py-buildbot-grid-view: Update version 3.11.9=>4.3.0
  devel/py-buildbot-console-view: Update version 3.11.9=>4.3.0
  devel/py-buildbot-badges: Update version 3.11.9=>4.3.0
  devel/gitea-act_runner: Update version 0.2.11=>0.2.12
  multimedia/photofilmstrip: Return to pool
  net/liblinphone: Update version 5.4.4=>5.4.25
  net/mediastreamer: Update version 5.4.2=>5.4.24
  security/lime: Update version 5.4.2=>5.4.24
  security/bzrtp: Update version 5.4.2=>5.4.24
  net/belle-sip: Update version 5.4.2=>5.4.24
  deskutils/belcard: Update version 5.4.2=>5.4.24
  net/ortp: Update version 5.4.2=>5.4.24
  ...
2025-06-30 22:24:42 +02:00

81 lines
2.1 KiB
Makefile

PORTNAME= gnuplot
PORTVERSION= 5.4.10
PORTREVISION= 3
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
USES+= compiler:c++11-lang cpe groff iconv pkgconfig readline
CPE_VENDOR= gnuplot_project
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
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
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
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
post-stage:
@cd ${STAGEDIR}${PREFIX} && ${RMDIR} libexec/gnuplot/5.4 libexec/gnuplot
.include <bsd.port.mk>