mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
34 lines
708 B
Makefile
34 lines
708 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sdl2
|
|
PORTVERSION= 0.7.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://cdn.bitbucket.org/marcusva/py-sdl2/downloads/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= PySDL2-${PORTVERSION}
|
|
|
|
MAINTAINER= mva@FreeBSD.org
|
|
COMMENT= Python bindings to the SDL2 libraries
|
|
|
|
LICENSE= ZLIB
|
|
|
|
USE_SDL= sdl2 gfx2 image2 ttf2 mixer2
|
|
USE_PYTHON= 2.7+
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
PYDISTUTILS_PKGNAME= PySDL2
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/html
|
|
@${TAR} -C ${WRKSRC}/doc/html -cf - . | \
|
|
${TAR} -C ${STAGEDIR}${DOCSDIR}/html -xf -
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|