[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / geography / osm2pgsql

File: [cvs.NetBSD.org] / pkgsrc / geography / osm2pgsql / Makefile (download)

Revision 1.35, Wed Nov 23 16:20:12 2022 UTC (2 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.34: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.35 2022/11/23 16:20:12 adam Exp $

DISTNAME=	osm2pgsql-1.3.0
PKGREVISION=	5
CATEGORIES=	geography
MASTER_SITES=	${MASTER_SITE_GITHUB:=openstreetmap/}
GITHUB_TAG=	${PKGVERSION_NOREV}

MAINTAINER=	wiedi@frubar.net
HOMEPAGE=	https://github.com/openstreetmap/osm2pgsql/
COMMENT=	OpenStreetMap data to PostgreSQL converter
LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}/osm2pgsql-${PKGVERSION_NOREV}
USE_CMAKE=	yes
USE_LANGUAGES=	c c++

# osm2pgsql does not allow srcdir builds (and separate is better anyway)
post-extract:
	${RUN} mkdir -p ${WRKSRC}/build
CONFIGURE_DIRS=	build
CMAKE_ARG_PATH=	${WRKSRC}

CMAKE_ARGS+=	-DBUILD_TESTS=ON
TEST_TARGET=	test

.include "../../geography/proj/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"