aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-kivy/Makefile
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2014-01-23 18:09:03 +0000
committerDavid Naylor <dbn@FreeBSD.org>2014-01-23 18:09:03 +0000
commitf81fd8d73a7d21f6d3fbca1eabc13a574532b914 (patch)
tree4a4e48af65176d656e1b13aba5993c46727fe603 /x11-toolkits/py-kivy/Makefile
parent8dc5216d73248a3dc43c3dbab679e384c319fbf0 (diff)
downloadports-f81fd8d73a7d21f6d3fbca1eabc13a574532b914.tar.gz
ports-f81fd8d73a7d21f6d3fbca1eabc13a574532b914.zip
Notes
Diffstat (limited to 'x11-toolkits/py-kivy/Makefile')
-rw-r--r--x11-toolkits/py-kivy/Makefile23
1 files changed, 7 insertions, 16 deletions
diff --git a/x11-toolkits/py-kivy/Makefile b/x11-toolkits/py-kivy/Makefile
index 6ee1f2fb7255..5310509a6f23 100644
--- a/x11-toolkits/py-kivy/Makefile
+++ b/x11-toolkits/py-kivy/Makefile
@@ -31,13 +31,13 @@ USE_PYTHON= 2
SHEBANG_FILES= kivy/lib/osc/OSC.py
OPTIONS_DEFINE= DOCS PDF TEST
-OPTIONS_SET= ENCHANT OPENCV PYGAME # FFMPEG
+OPTIONS_SET= ENCHANT OPENCV PYGAME
OPTIONS_SUB= yes
OPTIONS_GROUP= VIDEO AUDIO IMAGE CAMERA SPELLING CLIPBOARD
OPTIONS_MULTI= WINDOW TEXT
OPTIONS_MULTI_WINDOW= PYGAME X11 SDL2
OPTIONS_MULTI_TEXT= PIL PYGAME SDL2
-OPTIONS_GROUP_VIDEO= GSTREAMER # FFMPEG
+OPTIONS_GROUP_VIDEO= GSTREAMER FFMPEG
OPTIONS_GROUP_AUDIO= GSTREAMER PYGAME SDL2
OPTIONS_GROUP_IMAGE= PIL PYGAME
OPTIONS_GROUP_CAMERA= OPENCV GSTREAMER
@@ -64,10 +64,12 @@ WINDOW_DESC= Window support (compulsory)
DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
ENCHANT_DESC= Spell checking support via Enchant
ENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>=0:${PORTSDIR}/textproc/py-enchant
+FFMPEG_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ffmpeg/__init__.py:${PORTSDIR}/multimedia/py-ffmpeg
GSTREAMER_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygst.py:${PORTSDIR}/multimedia/py-gstreamer
OPENCV_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cv.py:${PORTSDIR}/graphics/py-opencv
PDF_DESC= Build PDF documentation (required TeXLive, DOCS)
PDF_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
+PDF_USE= TEX=texlive,pdftex:build,dvipsk:build
PDF_USES= gmake
PIL_DESC= Text and window rendering support via PIL
PIL_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL:${PORTSDIR}/graphics/py-imaging
@@ -76,18 +78,15 @@ PYGAME_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame:${PORTSDIR}/devel/py-game
PYGLET_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyglet:${PORTSDIR}/graphics/py-pyglet
SDL2_DESC= Simple Direct Media Layer v2.0 support
SDL2_MAKE_ENV= USE_SDL=1
+SDL2_USE= SDL=sdl2,ttf2,mixer2
TEST_BUILD_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose
TEST_USES= display:build
-X11_MAKE_ENV+= USE_X11=1
-
-.if defined(NOT_IMPLEMENTED)
-FFMPEG_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ffmpeg:${PORTSDIR}/multimedia/py-ffmpeg
-.endif
+X11_MAKE_ENV= USE_X11=1
+X11_USE= XORG=x11
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPDF}
-USE_TEX= texlive pdftex:build dvipsk:build
.if empty(PORT_OPTIONS:MDOCS)
IGNORE= option PDF requires DOCS
.endif
@@ -97,14 +96,6 @@ IGNORE= option PDF requires DOCS
NOSE_ARGS+= --exclude=test_fbo_pixels
.endif
-.if ${PORT_OPTIONS:MSDL2}
-USE_SDL= sdl2 ttf2 mixer2
-.endif
-
-.if ${PORT_OPTIONS:MX11}
-USE_XORG= x11
-.endif
-
.if ${PORT_OPTIONS:MTEST}
post-build: do-test-build