freebsd-ports/devel/py-pysdl2/Makefile

30 lines
671 B
Makefile

PORTNAME= pysdl2
PORTVERSION= 0.9.10
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PySDL2-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python bindings to the SDL2 libraries
LICENSE= PD CC0-1.0 ZLIB
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/doc/copying.rst
USES= dos2unix python:3.6+ sdl
USE_PYTHON= autoplist concurrent distutils
USE_SDL= gfx2 image2 mixer2 sdl2 ttf2
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${RM} ${WRKSRC}/doc/html/.buildinfo
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>