Skip to content

Commit

Permalink
math/pdal: Use upstream release archive
Browse files Browse the repository at this point in the history
Use upstream release archive as suggested by Porters Handbook, this
also reduces download size

PR:		261260
Reviewed by:	lbartoletti@ (maintainer)
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Jan 19, 2022
1 parent c8a161f commit d4067b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions math/pdal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions math/pdal/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d4067b1

Please sign in to comment.