aboutsummaryrefslogtreecommitdiff
path: root/math/gnuplot
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-12 15:51:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-12 15:51:45 +0000
commit58612140c7081818ac480efc304f304c586779a8 (patch)
tree11ecbfeea9c9b40d1da5a9228181e9e962bac54c /math/gnuplot
parentf6e70c094512a4f79e1f8c3c99fd8d9e789aa2e7 (diff)
downloadports-58612140c7081818ac480efc304f304c586779a8.tar.gz
ports-58612140c7081818ac480efc304f304c586779a8.zip
Notes
Diffstat (limited to 'math/gnuplot')
-rw-r--r--math/gnuplot/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index db5dbd20317a..695cbe1a8e8b 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -40,6 +40,7 @@ CONFIGURE_ARGS+=--with-readline=gnu \
ac_cv_prog_PLAINTEX=${LOCALBASE}/bin/tex \
ac_cv_prog_LATEX=${LOCALBASE}/bin/latex \
ac_cv_prog_PDFLATEX=${LOCALBASE}/bin/pdflatex
+TEST_TARGET= check
PORTDOCS= *
PORTEXAMPLES= *
@@ -48,8 +49,6 @@ GRIDBOX_DESC= Use the gridbox optimization for hidden3d
GRIDBOX_CONFIGURE_OFF= --disable-h3d-quadtree --enable-h3d-gridbox
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e \
'/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in
@@ -58,10 +57,8 @@ post-patch:
@${REINPLACE_CMD} -e \
's|luaL_checkint(|(int)luaL_checkinteger(|' ${WRKSRC}/term/lua.trm
-.if ${PORT_OPTIONS:MDOCS}
-post-build:
+post-build-DOCS-on:
@cd ${WRKSRC}/docs && ${MAKE} groff
-.endif
pre-install:
${MKDIR} ${STAGEDIR}${DATADIR}/5.2 ; \
@@ -71,14 +68,11 @@ pre-install:
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
-.if ${PORT_OPTIONS:MDOCS}
+
+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
-.endif
-
-check test: build
- @( cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check ; )
.include <bsd.port.mk>