1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/astro/libosmpbf/Makefile

36 lines
675 B
Makefile

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