pkgsrc/geography/osm2pgsql/Makefile

31 lines
928 B
Makefile

# $NetBSD: Makefile,v 1.9 2017/06/13 19:00:50 wiedi Exp $
DISTNAME= osm2pgsql-0.92.1
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++
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
post-extract:
${RUN} mkdir -p ${WRKDIR}/build
.include "../../geography/geos/buildlink3.mk"
.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"