freebsd-ports/databases/pointcloud/Makefile
Loïc Bartoletti c485094ccc archivers/lazperf: Uses liblazperf.so
Since lazperf is no longer header-only it is better to indicate the
dependency on the lib.

This commit unbreak databases/grass7 build.
2021-06-16 07:01:47 +02:00

33 lines
803 B
Makefile

# Created by: lbartoletti <lbartoletti@FreeBSD.org>
PORTNAME= pointcloud
PORTVERSION= 1.2.1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= databases geography
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 270f3e112519.patch:-p1
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= LIDAR types for PostgreSQL
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libght.so:devel/libght \
liblazperf.so:archivers/lazperf
USES= autoreconf compiler:c++0x gmake gnome pgsql
WANT_PGSQL= server
USE_GNOME= libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-lazperf=${LOCALBASE}
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= pgpointcloud
post-install:
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/postgresql/pointcloud-${PORTVERSION:R}.so
.include <bsd.port.mk>