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/
2008-10-31 13:11:34 +01:00
|
|
|
# New ports collection makefile for: pyglet
|
|
|
|
# Date created: 12 Aug 2008
|
|
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pyglet
|
2011-05-25 16:41:27 +02:00
|
|
|
PORTVERSION= 1.1.4
|
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/
2008-10-31 13:11:34 +01:00
|
|
|
CATEGORIES= graphics multimedia x11-toolkits python
|
2011-05-25 16:41:27 +02:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
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/
2008-10-31 13:11:34 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Cross-platform windowing and multimedia library for Python
|
|
|
|
|
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
|
2010-01-25 20:15:18 +01:00
|
|
|
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
|
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/
2008-10-31 13:11:34 +01:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
USE_GL= gl glu
|
2010-01-25 20:15:18 +01:00
|
|
|
USE_OPENAL= al
|
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/
2008-10-31 13:11:34 +01:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
2011-10-03 16:58:49 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
IGNORE= crashes or doesn't work on !i386
|
|
|
|
.endif
|
|
|
|
|
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/
2008-10-31 13:11:34 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2011-10-03 16:58:49 +02:00
|
|
|
.include <bsd.port.post.mk>
|