aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/glosm/Makefile
blob: e9a0bbf15f5c843ea53c7410cd196fa958275542 (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
# New ports collection makefile for:    glosm
# Date created:     15 Jan 2011
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   glosm
PORTVERSION=    0.0.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=    png.6:${PORTSDIR}/graphics/png \
        expat.6:${PORTSDIR}/textproc/expat2

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_GL=     gl
USE_SDL=    sdl
MAKE_JOBS_SAFE= yes

PORTDOCS=   README ChangeLog

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>