aboutsummaryrefslogtreecommitdiff
path: root/graphics/glosm/Makefile
blob: e33e6bdb08c174180f1265f6a1d399811024ced6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=	glosm
PORTVERSION=	0.0.2
PORTREVISION=	2
CATEGORIES=	graphics geography
MASTER_SITES=	http://cloud.github.com/downloads/AMDmi3/glosm/ \
		http://mirror.amdmi3.ru/distfiles/

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	3D OpenGL renderer for OpenStreetMap

LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
		libexpat.so:${PORTSDIR}/textproc/expat2

USES=		tar:bzip2 cmake
USE_GL=		gl
USE_SDL=	sdl

PORTDOCS=	README ChangeLog

OPTIONS_DEFINE=	DOCS

regression-test:
	cd ${BUILD_WRKSRC} && ctest

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>