Tweak audio/esperanza version 0.4.0.20091017_2
[dports.git] / devel / py-sdl2 / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       sdl2
4 PORTVERSION=    0.9.3
5 PORTREVISION=   1
6 CATEGORIES=     devel python
7 MASTER_SITES=   http://bitbucket.org/marcusva/py-sdl2/downloads/
8 PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
9 DISTNAME=       PySDL2-${PORTVERSION}
10
11 MAINTAINER=     mva@FreeBSD.org
12 COMMENT=        Python bindings to the SDL2 libraries
13
14 LICENSE=        ZLIB
15
16 USES=           python
17 USE_SDL=        sdl2 gfx2 image2 ttf2 mixer2
18 USE_PYTHON=     autoplist distutils
19
20 OPTIONS_DEFINE= DOCS
21
22 .include <bsd.port.options.mk>
23
24 post-install:
25 .if ${PORT_OPTIONS:MDOCS}
26         @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/html
27         @${TAR} -C ${WRKSRC}/doc/html -cf - . | \
28                 ${TAR} -C ${STAGEDIR}${DOCSDIR}/html -xf -
29 .endif
30
31 .include <bsd.port.mk>