mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
a382bbffeb
conflict in behaviour with the read-only COMPILER_FEATURES knob - Fix the deprecated USE_PYTHON_BUILD and USE_PYTHON_RUN behaviour, which usually should be mutually exclusive, but some ports include both knobs Phabric: D581 Recommended by: danfe@, makc@ Reviewed by: danfe, wg, antoine Approved by: portmgr With hat: python@
31 lines
639 B
Makefile
31 lines
639 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sdl2
|
|
PORTVERSION= 0.9.3
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://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
|
|
|
|
USES= python
|
|
USE_SDL= sdl2 gfx2 image2 ttf2 mixer2
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
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>
|