aboutsummaryrefslogtreecommitdiff
path: root/devel/sfml/Makefile
blob: f4b3cf63b240091ffde6384f27390989faa1cb6c (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
40
41
42
43
# New ports collection makefile for:	sfml
# Date created:		07 Jul 2009
# Whom:			Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	sfml
PORTVERSION=	1.5
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	SF
DISTNAME=	SFML-${PORTVERSION}-sdk-linux-32

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

LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
		jpeg.11:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png \
		freetype.9:${PORTSDIR}/print/freetype2

USE_GMAKE=	yes
USE_OPENAL=	al
USE_XORG=	x11 xrandr
USE_GL=		gl glu
USE_LDCONFIG=	yes
MAKE_JOBS_SAFE=	yes

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

PORTDOCS=	*

post-extract:
	@${RM} ${WRKSRC}/lib/*

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "*" ${DOCSDIR}/
.endif

.include <bsd.port.mk>