diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2019-03-02 19:53:43 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2019-03-02 19:53:43 +0000 |
commit | 3ddeacc0ce85bcbaae74fdcfc60d1cd65f22ba3d (patch) | |
tree | ed6cb92853fdc02d1abcd0aae3bde41ee3c6b425 /math/qhull | |
parent | 150891a90088f85270d50f5f4a108d247c8584ae (diff) | |
download | ports-3ddeacc0ce85bcbaae74fdcfc60d1cd65f22ba3d.tar.gz ports-3ddeacc0ce85bcbaae74fdcfc60d1cd65f22ba3d.zip |
- Update math/qhull to 7.2.1.
- Bump portrevision of dependent port math/plplot,
PR: 236142
Submitted by: Yuri Victorovich <yuri@freebsd.org>
Notes
Notes:
svn path=/head/; revision=494452
Diffstat (limited to 'math/qhull')
-rw-r--r-- | math/qhull/Makefile | 18 | ||||
-rw-r--r-- | math/qhull/distinfo | 6 | ||||
-rw-r--r-- | math/qhull/files/patch-CMakeLists.txt | 11 | ||||
-rw-r--r-- | math/qhull/files/patch-src_libqhullcpp_QhullSet.h | 18 | ||||
-rw-r--r-- | math/qhull/pkg-plist | 61 |
5 files changed, 21 insertions, 93 deletions
diff --git a/math/qhull/Makefile b/math/qhull/Makefile index 022fe3522e5e..cf4eb1b2a5a4 100644 --- a/math/qhull/Makefile +++ b/math/qhull/Makefile @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= qhull -PORTVERSION= 2015.2 +DISTVERSIONPREFIX= v +DISTVERSION= 7.2.1 +PORTEPOCH= 1 CATEGORIES= math -MASTER_SITES= http://www.qhull.org/download/ -DISTNAME= ${PORTNAME}-2015-src-7.2.0 MAINTAINER= stephen@FreeBSD.org COMMENT= Qhull computes convex hulls, Delaunay triangulations, and halfspaces @@ -15,18 +15,16 @@ LICENSE_NAME= Qhull License LICENSE_FILE= ${WRKSRC}/COPYING.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= cmake tar:tgz +USES= cmake +USE_GITHUB= yes USE_LDCONFIG= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -CONFLICTS= qhull-1.0* afni-[0-9]* qhull5-* +CONFLICTS= qhull afni qhull5 OPTIONS_DEFINE= DOCS -DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-CMakeLists.txt +PORTDOCS= * -post-patch: - ${REINPLACE_CMD} -e 's#share/man/man#man/man#g' \ - ${WRKSRC}/CMakeLists.txt +DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-CMakeLists.txt .include <bsd.port.mk> diff --git a/math/qhull/distinfo b/math/qhull/distinfo index d993e78112a8..6eb1ccee979f 100644 --- a/math/qhull/distinfo +++ b/math/qhull/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1472570343 -SHA256 (qhull-2015-src-7.2.0.tgz) = 78b010925c3b577adc3d58278787d7df08f7c8fb02c3490e375eab91bb58a436 -SIZE (qhull-2015-src-7.2.0.tgz) = 1010153 +TIMESTAMP = 1551483695 +SHA256 (qhull-qhull-v7.2.1_GH0.tar.gz) = 6fc251e0b75467e00943bfb7191e986fce0e1f8f6f0251f9c6ce5a843821ea78 +SIZE (qhull-qhull-v7.2.1_GH0.tar.gz) = 1047843 diff --git a/math/qhull/files/patch-CMakeLists.txt b/math/qhull/files/patch-CMakeLists.txt index 4635d19b7da8..d68bcf84d8bc 100644 --- a/math/qhull/files/patch-CMakeLists.txt +++ b/math/qhull/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ Install docs into share/doc/ rather than include/ ---- CMakeLists.txt.orig 2016-01-19 00:21:32 UTC +--- CMakeLists.txt.orig 2018-12-28 23:33:58 UTC +++ CMakeLists.txt @@ -91,7 +91,7 @@ else() if(WIN32) @@ -11,6 +11,15 @@ Install docs into share/doc/ rather than include/ endif() endif() if(DOC_INSTALL_DIR) +@@ -330,7 +330,7 @@ set( + + include_directories(${CMAKE_SOURCE_DIR}/src) + +-if(CMAKE_BUILD_TYPE MATCHES "[dD]ebug") ++if(FALSE AND CMAKE_BUILD_TYPE MATCHES "[dD]ebug") + set(qhull_CPP qhullcpp_d) + set(qhull_SHARED qhull_d) + set(qhull_SHAREDP qhull_pd) @@ -616,9 +616,9 @@ install(TARGETS ${qhull_TARGETS_INSTALL} ARCHIVE DESTINATION ${LIB_INSTALL_DIR}) diff --git a/math/qhull/files/patch-src_libqhullcpp_QhullSet.h b/math/qhull/files/patch-src_libqhullcpp_QhullSet.h deleted file mode 100644 index 4a4eacc17408..000000000000 --- a/math/qhull/files/patch-src_libqhullcpp_QhullSet.h +++ /dev/null @@ -1,18 +0,0 @@ -c++ 4.2 (in base 9.x) has a weakness that emits a bogus error: -/usr/ports/math/qhull/work/qhull-2015.2/src/libqhullcpp/QhullSet.h:330: error: expected `;' before 'i' - -Work around that by removing overspecified part of type declaration (can remove after 9.x EOL). - ---- src/libqhullcpp/QhullSet.h.orig 2016-01-18 19:45:12 UTC -+++ src/libqhullcpp/QhullSet.h -@@ -327,8 +327,8 @@ template <typename T> - std::vector<T> QhullSet<T>:: - toStdVector() const - { -- QhullSet<T>::const_iterator i= begin(); -- QhullSet<T>::const_iterator e= end(); -+ const_iterator i= begin(); -+ const_iterator e= end(); - std::vector<T> vs; - while(i!=e){ - vs.push_back(*i++); diff --git a/math/qhull/pkg-plist b/math/qhull/pkg-plist index 36c17730e3ac..834078d6a35a 100644 --- a/math/qhull/pkg-plist +++ b/math/qhull/pkg-plist @@ -65,64 +65,3 @@ lib/libqhullstatic.a lib/libqhullstatic_r.a man/man1/qhull.1.gz man/man1/rbox.1.gz -%%PORTDOCS%%%%DOCSDIR%%/Announce.txt -%%PORTDOCS%%%%DOCSDIR%%/COPYING.txt -%%PORTDOCS%%%%DOCSDIR%%/README.txt -%%PORTDOCS%%%%DOCSDIR%%/REGISTER.txt -%%PORTDOCS%%%%DOCSDIR%%/index.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/DEPRECATED.txt -%%PORTDOCS%%%%DOCSDIR%%/libqhull/index.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-geom.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-globa.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-io.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-mem.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-merge.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-poly.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-qhull.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-set.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-stat.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull/qh-user.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/index.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-geom_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-globa_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-io_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-mem_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-merge_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-poly_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-qhull_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-set_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-stat_r.htm -%%PORTDOCS%%%%DOCSDIR%%/libqhull_r/qh-user_r.htm -%%PORTDOCS%%%%DOCSDIR%%/normal_voronoi_knauss_oesterle.jpg -%%PORTDOCS%%%%DOCSDIR%%/qconvex.htm -%%PORTDOCS%%%%DOCSDIR%%/qdelau_f.htm -%%PORTDOCS%%%%DOCSDIR%%/qdelaun.htm -%%PORTDOCS%%%%DOCSDIR%%/qh--4d.gif -%%PORTDOCS%%%%DOCSDIR%%/qh--cone.gif -%%PORTDOCS%%%%DOCSDIR%%/qh--dt.gif -%%PORTDOCS%%%%DOCSDIR%%/qh--geom.gif -%%PORTDOCS%%%%DOCSDIR%%/qh--half.gif -%%PORTDOCS%%%%DOCSDIR%%/qh--rand.gif -%%PORTDOCS%%%%DOCSDIR%%/qh-code.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-eg.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-faq.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-get.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-impre.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-optc.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-optf.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-optg.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-opto.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-optp.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-optq.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-optt.htm -%%PORTDOCS%%%%DOCSDIR%%/qh-quick.htm -%%PORTDOCS%%%%DOCSDIR%%/qhalf.htm -%%PORTDOCS%%%%DOCSDIR%%/qhull-cpp.xml -%%PORTDOCS%%%%DOCSDIR%%/qhull.htm -%%PORTDOCS%%%%DOCSDIR%%/qhull.man -%%PORTDOCS%%%%DOCSDIR%%/qhull.txt -%%PORTDOCS%%%%DOCSDIR%%/qvoron_f.htm -%%PORTDOCS%%%%DOCSDIR%%/qvoronoi.htm -%%PORTDOCS%%%%DOCSDIR%%/rbox.htm -%%PORTDOCS%%%%DOCSDIR%%/rbox.man -%%PORTDOCS%%%%DOCSDIR%%/rbox.txt |