Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2016 11:10:10 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412727 - in head/math/yacas: . files
Message-ID:  <201604081110.u38BAAUU082110@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Fri Apr  8 11:10:10 2016
New Revision: 412727
URL: https://svnweb.freebsd.org/changeset/ports/412727

Log:
  math/yacas: update to 1.4.2, provide DOCS option to build the sphinx-based docs

Added:
  head/math/yacas/files/patch-CMakeLists-docs.txt   (contents, props changed)
Modified:
  head/math/yacas/Makefile
  head/math/yacas/distinfo
  head/math/yacas/files/patch-src_mathcommands.cpp
  head/math/yacas/files/patch-src_yacasmain.cpp
  head/math/yacas/pkg-plist

Modified: head/math/yacas/Makefile
==============================================================================
--- head/math/yacas/Makefile	Fri Apr  8 09:32:25 2016	(r412726)
+++ head/math/yacas/Makefile	Fri Apr  8 11:10:10 2016	(r412727)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	yacas
-PORTVERSION=	1.4.0
+PORTVERSION=	1.4.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	math
 
@@ -12,6 +12,12 @@ COMMENT=	Yet Another Computer Algebra Sy
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+OPTIONS_DEFINE=	DOCS
+DOCS_CMAKE_ON=	-DENABLE_DOCS:BOOL=ON -DDOCSDIR:STRING=${DOCSDIR_REL}
+DOCS_BUILD_DEPENDS=	sphinx-autogen:textproc/py-sphinx
+
+PORTDOCS=	*
+
 TEST_DEPENDS=	bash:shells/bash
 
 USES=		cmake:outsource compiler:c++11-lib
@@ -19,6 +25,8 @@ USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	grzegorzmazur
 
+PLIST_SUB=	SHLIB_VERSION=${PORTVERSION:S/.//}.0
+
 .include <bsd.port.pre.mk>
 
 .if ${CHOSEN_COMPILER_TYPE} == "gcc"

Modified: head/math/yacas/distinfo
==============================================================================
--- head/math/yacas/distinfo	Fri Apr  8 09:32:25 2016	(r412726)
+++ head/math/yacas/distinfo	Fri Apr  8 11:10:10 2016	(r412727)
@@ -1,2 +1,2 @@
-SHA256 (grzegorzmazur-yacas-v1.4.0_GH0.tar.gz) = 3c39c2cb98889a30b5a82413d233c0b0a25892d4740f1fb93b99e44ecbb4c08b
-SIZE (grzegorzmazur-yacas-v1.4.0_GH0.tar.gz) = 2032216
+SHA256 (grzegorzmazur-yacas-v1.4.2_GH0.tar.gz) = 530fdc8902f6289ed5b6ddbbfa50910f74086657c97ece2a65a5111ccb1ec710
+SIZE (grzegorzmazur-yacas-v1.4.2_GH0.tar.gz) = 2032218

Added: head/math/yacas/files/patch-CMakeLists-docs.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/yacas/files/patch-CMakeLists-docs.txt	Fri Apr  8 11:10:10 2016	(r412727)
@@ -0,0 +1,18 @@
+--- CMakeLists-docs.txt.orig	2016-04-08 09:58:59 UTC
++++ CMakeLists-docs.txt
+@@ -39,7 +39,7 @@ add_custom_target(yacas_docs ALL
+         "${SPHINX_SINGLEHTML_DIR}"
+     COMMENT "Building HTML documentation with Sphinx")
+ 
+-install (DIRECTORY "${SPHINX_SINGLEHTML_DIR}" DESTINATION share/yacas/documentation COMPONENT doc)
++install (DIRECTORY "${SPHINX_SINGLEHTML_DIR}" DESTINATION ${DOCSDIR} COMPONENT doc)
+ 
+ if (ENABLE_OLD_DOCS)
+ 
+@@ -161,4 +161,4 @@ if (ENABLE_OLD_DOCS)
+ 
+     install (FILES ${HTML_BOOKS} ${HTML_CHAPTERS} DESTINATION share/yacas/documentation COMPONENT doc)
+ 
+-endif ()
+\ No newline at end of file
++endif ()

Modified: head/math/yacas/files/patch-src_mathcommands.cpp
==============================================================================
--- head/math/yacas/files/patch-src_mathcommands.cpp	Fri Apr  8 09:32:25 2016	(r412726)
+++ head/math/yacas/files/patch-src_mathcommands.cpp	Fri Apr  8 11:10:10 2016	(r412727)
@@ -1,4 +1,4 @@
---- src/mathcommands.cpp.orig	2016-02-04 14:54:05 UTC
+--- src/mathcommands.cpp.orig	2016-03-11 09:22:12 UTC
 +++ src/mathcommands.cpp
 @@ -23,6 +23,7 @@
  #include "yacas/arggetter.h"

Modified: head/math/yacas/files/patch-src_yacasmain.cpp
==============================================================================
--- head/math/yacas/files/patch-src_yacasmain.cpp	Fri Apr  8 09:32:25 2016	(r412726)
+++ head/math/yacas/files/patch-src_yacasmain.cpp	Fri Apr  8 11:10:10 2016	(r412727)
@@ -1,4 +1,4 @@
---- src/yacasmain.cpp.orig	2016-03-04 15:08:05 UTC
+--- src/yacasmain.cpp.orig	2016-03-11 09:22:12 UTC
 +++ src/yacasmain.cpp
 @@ -72,6 +72,7 @@
  #if defined (__FreeBSD__) || defined (__DragonFly__)

Modified: head/math/yacas/pkg-plist
==============================================================================
--- head/math/yacas/pkg-plist	Fri Apr  8 09:32:25 2016	(r412726)
+++ head/math/yacas/pkg-plist	Fri Apr  8 11:10:10 2016	(r412727)
@@ -62,7 +62,7 @@ include/yacas/yacasbase.h
 include/yacas/yacasprivate.h
 lib/libyacas.a
 lib/libyacas.so
-lib/libyacas.so.1.0.0
+lib/libyacas.so.%%SHLIB_VERSION%%
 %%DATADIR%%/scripts/Makefile.am
 %%DATADIR%%/scripts/array.rep/code.ys
 %%DATADIR%%/scripts/array.rep/code.ys.def



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604081110.u38BAAUU082110>