aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/glosm/Makefile
blob: eb9b4c312ef742cf83af83084ee2f10c8faa227d (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
# 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=    png15:${PORTSDIR}/graphics/png \
        expat:${PORTSDIR}/textproc/expat2

USE_BZIP2=  yes
USES=       cmake
USE_GL=     gl
USE_SDL=    sdl
MAKE_JOBS_SAFE= yes

PORTDOCS=   README ChangeLog

.include <bsd.port.options.mk>

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

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>