ports/170661: [NEW PORT] graphics/py27-pyglet-devel: Cross-platform windowing and multimedia library for Python
nemysis
nemysis at gmx.ch
Thu Aug 16 08:30:11 UTC 2012
>Number: 170661
>Category: ports
>Synopsis: [NEW PORT] graphics/py27-pyglet-devel: Cross-platform windowing and multimedia library for Python
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 16 08:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
pyglet provides an object-oriented programming interface for
developing games and other visually-rich applications for
Windows, Mac OS X and Linux. Some of the features of pyglet are:
* No external dependencies or installation requirements.
For most application and game requirements, pyglet needs nothing
else besides Python, simplifying distribution and installation.
* Take advantage of multiple windows and multi-monitor desktops.
pyglet allows you to use as many windows as you need, and is fully
aware of multi-monitor setups for use with fullscreen games.
* Load images, sound, music and video in almost any format.
pyglet can optionally use AVbin to play back audio formats such as
MP3, OGG/Vorbis and WMA, and video formats such as DivX, MPEG-2,
H.264, WMV and Xvid.
pyglet is provided under the BSD open-source license, allowing you
to use it for both commerical and other open-source projects with
very little restriction.
WWW: http://pyglet.org/
Generated and tested manually, tested with port test and with RedPorts (all RELEASES), sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:
>Fix:
--- .shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-pyglet-devel
# py-pyglet-devel/Makefile
# py-pyglet-devel/distinfo
# py-pyglet-devel/pkg-descr
# py-pyglet-devel/pkg-plist
#
echo c - py-pyglet-devel
mkdir -p py-pyglet-devel > /dev/null 2>&1
echo x - py-pyglet-devel/Makefile
sed 's/^X//' >py-pyglet-devel/Makefile << '3affff6b8c1a8c0e68203b8bda750172'
X# New ports collection makefile for: pyglet-devel
X# Date created: 2012-08-13
X# Whom: nemysis at gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME= pyglet
XPORTVERSION= 1.2
XCATEGORIES= graphics multimedia x11-toolkits python
XMASTER_SITES= GOOGLE_CODE
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
XPKGNAMESUFFIX= -devel
XDISTNAME= ${PORTNAME}-${DISTVERSION}alpha1
X
XMAINTAINER= nemysis at gmx.ch
XCOMMENT= Cross-platform windowing and multimedia library for Python
X
XLICENSE= BSD
XLICENSE_FILE= ${WRKSRC}/LICENSE
X
XLIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
X fontconfig:${PORTSDIR}/x11-fonts/fontconfig
X
XOPTIONS_DEFINE= DATA
XOPTIONS_DEFAULT= DATA
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= yes
XUSE_GL= gl glu
XUSE_OPENAL= al
XCONFLICTS= py-pyglet-[0-9]*
X
XPORTDATA= *
XPORTDOCS= CHANGELOG NOTICE README
XDATADIR= ${PYTHON_SITELIBDIR}/${PORTNAME}
XPYDISTUTILS_EGGINFO= ${DISTNAME}-py${PYTHON_VER}.egg-info
X
X.include <bsd.port.options.mk>
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X @(cd ${WRKSRC}/pyglet/ && ${REINPLACE_CMD} -e 's|/usr/include|${PREFIX}/include|g' gl/gl.py \
X gl/glext_arb.py gl/glext_nv.py gl/glu.py gl/glx.py gl/glxext_arb.py gl/glxext_nv.py \
X input/evdev_constants.py libs/x11/cursorfont.py libs/x11/xf86vmode.py libs/x11/xinerama.py \
X libs/x11/xinput.py libs/x11/xlib.py libs/x11/xsync.py media/drivers/openal/lib_alc.py \
X media/drivers/openal/lib_openal.py media/drivers/pulse/lib_pulseaudio.py)
X
Xpost-install:
X# Documentation
X.if ${PORT_OPTIONS:MDOCS}
X ${MKDIR} ${DOCSDIR}
X. for f in ${PORTDOCS}
X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X. endfor
X.endif
X
X# Pixmaps
X ${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}*.png ${PREFIX}/share/pixmaps
X# Examples
X cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
X
X.include <bsd.port.post.mk>
3affff6b8c1a8c0e68203b8bda750172
echo x - py-pyglet-devel/distinfo
sed 's/^X//' >py-pyglet-devel/distinfo << 'ba40a72ce709ecf0bde1eb13b28ea55b'
XSHA256 (pyglet-1.2alpha1.tar.gz) = 3192cdadd032baf1361136ec05a30471b514566edda5b9db3a6f7a76ac5aff34
XSIZE (pyglet-1.2alpha1.tar.gz) = 2014080
ba40a72ce709ecf0bde1eb13b28ea55b
echo x - py-pyglet-devel/pkg-descr
sed 's/^X//' >py-pyglet-devel/pkg-descr << 'de757cb42bf41a655cf596a1332b9d34'
Xpyglet provides an object-oriented programming interface for
Xdeveloping games and other visually-rich applications for
XWindows, Mac OS X and Linux. Some of the features of pyglet are:
X
X * No external dependencies or installation requirements.
X For most application and game requirements, pyglet needs nothing
X else besides Python, simplifying distribution and installation.
X * Take advantage of multiple windows and multi-monitor desktops.
X pyglet allows you to use as many windows as you need, and is fully
X aware of multi-monitor setups for use with fullscreen games.
X * Load images, sound, music and video in almost any format.
X pyglet can optionally use AVbin to play back audio formats such as
X MP3, OGG/Vorbis and WMA, and video formats such as DivX, MPEG-2,
X H.264, WMV and Xvid.
X
Xpyglet is provided under the BSD open-source license, allowing you
Xto use it for both commerical and other open-source projects with
Xvery little restriction.
X
XWWW: http://pyglet.org/
de757cb42bf41a655cf596a1332b9d34
echo x - py-pyglet-devel/pkg-plist
sed 's/^X//' >py-pyglet-devel/pkg-plist << 'a28253697c450727c115f05cc38ff9dc'
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apple_remote.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apple_remote_demo.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/README
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/assets/app.icns
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/assets/app.ico
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/assets/ship.svg
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/astraea.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/asteroid1.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/asteroid2.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/asteroid3.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/bullet.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/bullet.wav
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/explosion.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/explosion.wav
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/pointer.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/ship.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/smoke.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res/starfield.jpg
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/setup.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/events.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fixed_resolution.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/graphics.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/html_label.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image_convert.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image_display.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/input.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/joystick.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/media_info.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/media_player.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multiple_windows.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/noisy/README
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/noisy/ball.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/noisy/ball.wav
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/noisy/noisy.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl_3.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/programming_guide/animation.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/programming_guide/dinosaur.gif
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/programming_guide/events.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/programming_guide/hello_world.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/programming_guide/image_viewer.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/programming_guide/kitten.jpg
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/programming_guide/window_subclass.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pyglet.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/show_input.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/README
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/reader.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/res/bass.ogg
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/res/drums.ogg
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/res/guitar.ogg
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/res/piano.ogg
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/res/space.txt
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/soundspace.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tablet.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text_input.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timer.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/video.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/window_platform_event.py
Xshare/pixmaps/pyglet.png
X at dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace/res
X at dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/soundspace
X at dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/programming_guide
X at dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/noisy
X at dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/res
X at dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea/assets
X at dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/astraea
X at dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%
X at dirrmtry %%PYTHON_SITELIBDIR%%
X at dirrmtry lib/python2.7
a28253697c450727c115f05cc38ff9dc
exit
--- .shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list