summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-09-03 13:45:15 +0000
committersobomax <sobomax@FreeBSD.org>2001-09-03 13:45:15 +0000
commita634e9be9b7f3431906dc1c6d2b4b61a0283788f (patch)
treea8b351c3ec039f03883fe607b07513bcffbeadc0 /misc
parent992ec5da27b6a7dfdc82364ba9a5e6b763e32e9f (diff)
downloadFreeBSD-ports-a634e9be9b7f3431906dc1c6d2b4b61a0283788f.zip
FreeBSD-ports-a634e9be9b7f3431906dc1c6d2b4b61a0283788f.tar.gz
Add pypanda 0.6, viewer for San Diego Zoo Pandacam written in Python.
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-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
6 files changed, 53 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index d167d55..d1f288e 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -148,6 +148,7 @@
SUBDIR += proxyper
SUBDIR += py-distutils
SUBDIR += pybliographer
+ SUBDIR += pypanda
SUBDIR += qbrew
SUBDIR += qhacc
SUBDIR += qlas
diff --git a/misc/pypanda/Makefile b/misc/pypanda/Makefile
new file mode 100644
index 0000000..f71c402
--- /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 0000000..472f4b0
--- /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 0000000..6211cd7
--- /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 0000000..9cf420a
--- /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 0000000..4e24720
--- /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
OpenPOWER on IntegriCloud