math/pdal: Use upstream release archive

Use upstream release archive as suggested by Porters Handbook, this
also reduces download size

PR:		261260
Reviewed by:	lbartoletti@ (maintainer)
This commit is contained in:
Daniel Engberg 2022-01-19 08:34:30 +01:00
parent c8a161f93f
commit d4067b1244
2 changed files with 8 additions and 7 deletions

View file

@ -4,6 +4,8 @@ PORTNAME= pdal
DISTVERSION= 2.3.0
PORTREVISION= 3
CATEGORIES= math databases graphics
MASTER_SITES= https://github.com/PDAL/PDAL/releases/download/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Library for translating and manipulating point cloud data
@ -28,11 +30,10 @@ LIB_DEPENDS_i386= libunwind.so:devel/libunwind
LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind
LIB_DEPENDS_powerpc64le=libunwind.so:devel/libunwind
USES= cmake compiler:c++11-lib pathfix pkgconfig ssl
USES= cmake compiler:c++11-lib pathfix pkgconfig ssl tar:bz2
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:tu}
GH_PROJECT= ${GH_ACCOUNT}
WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${DISTVERSION}-src
CMAKE_ON= WITH_LASZIP #LASZIP is recommended
CMAKE_OFF= WITH_TESTS

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1622878834
SHA256 (PDAL-PDAL-2.3.0_GH0.tar.gz) = 8ae848e9b3fe5149a9277fe60e10b9858edb9a3cf1a40728f11712498e5da13a
SIZE (PDAL-PDAL-2.3.0_GH0.tar.gz) = 113434573
TIMESTAMP = 1642399942
SHA256 (pdal-2.3.0-src.tar.bz2) = 63d8d4fee491675f0fa3dca58c26d57fb2afcaa37c24b10f595b3fbff174996e
SIZE (pdal-2.3.0-src.tar.bz2) = 107560748