mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
328b6db785
one, update all appropriate references (*_DEPENDS, comments, etc): ports/graphics/libfame --> ports/multimedia/libfame ports/graphics/libquicktime --> ports/multimedia/libquicktime ports/graphics/mpeg --> ports/multimedia/mpeg ports/graphics/mpeg_encode --> ports/multimedia/mpeg_encode ports/graphics/mpeg_play --> ports/multimedia/mpeg_play ports/graphics/mtv --> ports/multimedia/mtv ports/graphics/smpeg --> ports/multimedia/smpeg ports/graphics/totem --> ports/multimedia/totem ports/graphics/transcode --> ports/multimedia/transcode ports/graphics/xanim --> ports/multimedia/xanim ports/graphics/xmps --> ports/multimedia/xmps Repo copied by: cvs (joe) Approved by: portmgr (self & no objections)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: py-game
|
|
# Date created: 14 December 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= py-game
|
|
PORTVERSION= 1.5.5
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://pygame.seul.org/ftp/
|
|
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
COMMENT= A module designed to write games in Python
|
|
|
|
BUILD_DEPENDS= ${PYNUMERIC}
|
|
LIB_DEPENDS= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
|
|
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
|
|
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
|
smpeg.1:${PORTSDIR}/multimedia/smpeg
|
|
RUN_DEPENDS= ${PYNUMERIC}
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config.py
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/share/examples/py-game
|
|
${TAR} -C ${WRKSRC}/examples -cf - . | \
|
|
${TAR} --unlink -C ${PREFIX}/share/examples/py-game -xf -
|
|
${MKDIR} ${PREFIX}/share/doc/py-game
|
|
${TAR} -C ${WRKSRC}/docs -cf - . | \
|
|
${TAR} --unlink -C ${PREFIX}/share/doc/py-game -xf -
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|