aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sfml/Makefile
blob: c028ea38643656f073c8d7e3a564e9a959954368 (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
# 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:audio/libsndfile \
        libfreetype.so:print/freetype2

USES=       cmake dos2unix jpeg openal:al zip:infozip
DOS2UNIX_FILES= CMakeLists.txt
USE_XORG=   x11 xrandr
USE_GL=     gl glew
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:devel/doxygen

.include <bsd.port.mk>