aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sfml/Makefile
blob: 8d63ea5a66bdbe8a0a13dab77f899853a9c7d7b4 (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=   sfml
PORTVERSION=    2.1
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.sfml-dev.org/download/sfml/${PORTVERSION}/
DISTNAME=   SFML-${PORTVERSION}-sources

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Simple and Fast Multimedia Library

LIB_DEPENDS=    libsndfile.so:${PORTSDIR}/audio/libsndfile \
        libfreetype.so:${PORTSDIR}/print/freetype2 \
        libGLEW.so:${PORTSDIR}/graphics/glew

USES=       cmake dos2unix jpeg openal:al zip:infozip
DOS2UNIX_FILES= CMakeLists.txt
USE_XORG=   x11 xrandr
USE_GL=     gl
USE_LDCONFIG=   yes

WRKSRC=     ${WRKDIR}/SFML-${PORTVERSION}

DATADIR=    ${PREFIX}/share/SFML
PORTDATA=   *

OPTIONS_DEFINE= DOXYGEN

DOXYGEN_CMAKE_ON=   -DSFML_BUILD_DOC:BOOL=YES
DOXYGEN_BUILD_DEPENDS=  doxygen:${PORTSDIR}/devel/doxygen

.include <bsd.port.mk>