summaryrefslogtreecommitdiff
path: root/misc/pypanda
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-09-03 13:45:15 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-09-03 13:45:15 +0000
commit559f2a028318e6279013f1e5187945474c94fd9d (patch)
treed104085604721c133d677f7c7c24421e73831b94 /misc/pypanda
parentAdd p5-Net-CIDR 0.02, (diff)
Add pypanda 0.6, viewer for San Diego Zoo Pandacam written in Python.
Notes
Notes: svn path=/head/; revision=47363
Diffstat (limited to 'misc/pypanda')
-rw-r--r--misc/pypanda/Makefile34
-rw-r--r--misc/pypanda/distinfo1
-rw-r--r--misc/pypanda/pkg-comment1
-rw-r--r--misc/pypanda/pkg-descr6
-rw-r--r--misc/pypanda/pkg-plist10
5 files changed, 52 insertions, 0 deletions
diff --git a/misc/pypanda/Makefile b/misc/pypanda/Makefile
new file mode 100644
index 000000000000..f71c402b4219
--- /dev/null
+++ b/misc/pypanda/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: pypanda
+# Date created: 3 September 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
diff --git a/misc/pypanda/distinfo b/misc/pypanda/distinfo
new file mode 100644
index 000000000000..472f4b00eee4
--- /dev/null
+++ b/misc/pypanda/distinfo
@@ -0,0 +1 @@
+MD5 (pypanda-0.6.tar.gz) = 55dd67977e8e17376fe9f656ab51666d
diff --git a/misc/pypanda/pkg-comment b/misc/pypanda/pkg-comment
new file mode 100644
index 000000000000..6211cd749abc
--- /dev/null
+++ b/misc/pypanda/pkg-comment
@@ -0,0 +1 @@
+Viewer for San Diego Zoo Pandacam written in Python
diff --git a/misc/pypanda/pkg-descr b/misc/pypanda/pkg-descr
new file mode 100644
index 000000000000..9cf420a8db2a
--- /dev/null
+++ b/misc/pypanda/pkg-descr
@@ -0,0 +1,6 @@
+pyPanda is a python script that uses the pySDL and pygame interfaces to the
+SDL multimedia library. This program allows you to view the web's killer app,
+the San Diego Zoo Panda Cam, in a window on your desktop. A mouse click
+anywhere in the window will refresh the view, and a key press will quit.
+
+WWW: http://www3.telus.net/futility/futility/software.html
diff --git a/misc/pypanda/pkg-plist b/misc/pypanda/pkg-plist
new file mode 100644
index 000000000000..4e247203da3a
--- /dev/null
+++ b/misc/pypanda/pkg-plist
@@ -0,0 +1,10 @@
+bin/pypanda
+share/doc/pypanda/README
+share/pypanda/camdown.jpg
+share/pypanda/camrefresh.jpg
+share/pypanda/pypanda.png
+share/pypanda/pypanda.py
+share/pypanda/pypanda.pyc
+share/pypanda/pypanda.pyo
+@dirrm share/pypanda
+@dirrm share/doc/pypanda