aboutsummaryrefslogtreecommitdiff
path: root/graphics/glosm/Makefile
blob: d00be757ab458c4cdcc3ff1e0a4e8da6b19774e1 (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
35
36
37
38
39
40
# New ports collection makefile for:	glosm
# Date created:		15 Jan 2011
# Whom:			Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

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

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

LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png \
		expat.6:${PORTSDIR}/textproc/expat2

USE_BZIP2=	yes
USE_CMAKE=	yes
USE_GL=		gl glu glut
MAKE_JOBS_SAFE=	yes

PORTDOCS=	README

PLIST_FILES=	bin/glosm-tiler bin/glosm-viewer lib/libglosm.so

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

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>