From a634e9be9b7f3431906dc1c6d2b4b61a0283788f Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 3 Sep 2001 13:45:15 +0000 Subject: Add pypanda 0.6, viewer for San Diego Zoo Pandacam written in Python. --- misc/pypanda/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 misc/pypanda/Makefile (limited to 'misc/pypanda/Makefile') diff --git a/misc/pypanda/Makefile b/misc/pypanda/Makefile new file mode 100644 index 00000000000..f71c402b421 --- /dev/null +++ b/misc/pypanda/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: pypanda +# Date created: 3 September 2001 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# + +PORTNAME= pypanda +PORTVERSION= 0.6 +CATEGORIES= misc +MASTER_SITES= http://www3.telus.net/futility/futility/warez/ + +MAINTAINER= sobomax@FreeBSD.org + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game + +USE_PYTHON= yes + +do-build: + ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + @${MKDIR} ${DATADIR} +.for ext in py pyc pyo jpg png + ${INSTALL_DATA} ${WRKSRC}/*.${ext} ${DATADIR} +.endfor + @${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} + @printf "#!/bin/sh\ncd ${DATADIR} && \ + exec ${PYTHON_CMD} ${DATADIR}/pypanda.py\n" > ${WRKDIR}/pypanda.sh + @${INSTALL_SCRIPT} ${WRKDIR}/pypanda.sh ${PREFIX}/bin/pypanda + +.include -- cgit