1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/py-game/Makefile
Pav Lucistnik 3bbf18e543 - Update to 1.7.1
- Take maintainership

PR:		ports/86104
Submitted by:	Marcus von Appen <mva@sysfault.org>
2005-09-14 17:44:45 +00:00

40 lines
937 B
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.7.1
CATEGORIES= devel python
MASTER_SITES= http://pygame.seul.org/ftp/
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}release
MAINTAINER= mva@sysfault.org
COMMENT= A module designed to write games in Python
BUILD_DEPENDS= ${PYNUMERIC}
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
RUN_DEPENDS= ${PYNUMERIC}
USE_SDL= ttf image mixer sdl
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_XLIB= yes
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config.py
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${EXAMPLESDIR}
${TAR} -C ${WRKSRC}/examples -cf - . | \
${TAR} --unlink -C ${EXAMPLESDIR} -xf -
${MKDIR} ${DOCSDIR}
${TAR} -C ${WRKSRC}/docs -cf - . | \
${TAR} --unlink -C ${DOCSDIR} -xf -
.endif
.include <bsd.port.mk>