mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
39 lines
712 B
Makefile
39 lines
712 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= 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>
|