aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/glosm/Makefile
blob: 8b6cf136e9b35aeb9a2cea999684cb876a821484 (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
# 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

USE_BZIP2=  yes
USES=       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>