forked from Lainports/freebsd-ports
Since lazperf is no longer header-only it is better to indicate the dependency on the lib. This commit unbreak databases/grass7 build.
33 lines
803 B
Makefile
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>
|