diff --git a/graphics/s2/Makefile b/graphics/s2/Makefile index 1384a1754134..e5222cb61676 100644 --- a/graphics/s2/Makefile +++ b/graphics/s2/Makefile @@ -1,54 +1,55 @@ PORTNAME= s2 PORTVERSION= 0.10.0 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= sunpoet@FreeBSD.org COMMENT= S2 Geometry Library -WWW= https://s2geometry.io/ +WWW= https://s2geometry.io/ \ + https://github.com/google/s2geometry LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= is currently 64-bit only LIB_DEPENDS= libabsl_base.so:devel/abseil \ libgtest.so:devel/googletest USES= cmake compiler:c++17-lang localbase ssl CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= WITH_PYTHON USE_CXXSTD= c++17 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} GH_ACCOUNT= google GH_PROJECT= s2geometry USE_GITHUB= yes OPTIONS_DEFINE= EXAMPLES GFLAGS GLOG OPTIONS_DEFAULT=GFLAGS GLOG GFLAGS_DESC= Use gflags to change command line flags GLOG_DESC= Use glog for logging EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES GFLAGS_CMAKE_BOOL= WITH_GFLAGS GFLAGS_LIB_DEPENDS= libgflags.so:devel/gflags GLOG_CMAKE_BOOL= WITH_GLOG GLOG_LIB_DEPENDS= libglog.so:devel/glog .include .if ${ARCH} == powerpc64 && !defined(CPUTYPE) CXXFLAGS+= -mcpu=power7 .endif post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/examples/point_index.cc ${WRKSRC}/doc/examples/term_index.cc ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/s2/pkg-descr b/graphics/s2/pkg-descr index 8186508c14aa..70a775027630 100644 --- a/graphics/s2/pkg-descr +++ b/graphics/s2/pkg-descr @@ -1,6 +1,4 @@ S2 Geometry Library is a package for manipulating geometric shapes. Unlike many geometry libraries, S2 is primarily designed to work with spherical geometry, i.e., shapes drawn on a sphere rather than on a planar 2D map. This makes it especially suitable for working with geographic data. - -See also: https://github.com/google/s2geometry