1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/astro/libosmpbf/Makefile

39 lines
702 B
Makefile
Raw Normal View History

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= libosmpbf
PORTVERSION= 1.3.0
CATEGORIES= astro devel
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Library for handling binary OpenStreetMap data
LICENSE= GPLv3
LIB_DEPENDS= protobuf:${PORTSDIR}/devel/protobuf
USE_GITHUB= yes
GH_ACCOUNT= scrosby
GH_PROJECT= OSM-binary
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= d9be2d1
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKSRC}/src
CXXFLAGS+= -I${LOCALBASE}/include
PORTDOCS= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
.include <bsd.port.mk>