From owner-svn-ports-head@freebsd.org Tue Dec 12 15:51:46 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA792E9CCB2; Tue, 12 Dec 2017 15:51:46 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A0AF33C2; Tue, 12 Dec 2017 15:51:46 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBCFpjdM035452; Tue, 12 Dec 2017 15:51:45 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBCFpjwI035451; Tue, 12 Dec 2017 15:51:45 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201712121551.vBCFpjwI035451@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 12 Dec 2017 15:51:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456170 - head/math/gnuplot X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/math/gnuplot X-SVN-Commit-Revision: 456170 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2017 15:51:46 -0000 Author: amdmi3 Date: Tue Dec 12 15:51:45 2017 New Revision: 456170 URL: https://svnweb.freebsd.org/changeset/ports/456170 Log: - Switch to options helpers - Switch to new test framework Approved by: portmgr blanket Modified: head/math/gnuplot/Makefile Modified: head/math/gnuplot/Makefile ============================================================================== --- head/math/gnuplot/Makefile Tue Dec 12 15:50:51 2017 (r456169) +++ head/math/gnuplot/Makefile Tue Dec 12 15:51:45 2017 (r456170) @@ -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 hidden GRIDBOX_CONFIGURE_OFF= --disable-h3d-quadtree --enable-h3d-gridbox -.include - 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