aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-03 12:42:23 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-03 12:42:23 +0000
commit5a2e1f4631508d76b9fe1d82206d670382f326d4 (patch)
treedabfc525ab763c3781e77e230fb0d864c84ab4cc /misc
parent57b83df6f983719d27c0ea5946740c5a444aeaef (diff)
downloadports-5a2e1f4631508d76b9fe1d82206d670382f326d4.tar.gz
ports-5a2e1f4631508d76b9fe1d82206d670382f326d4.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-osd/Makefile26
-rw-r--r--misc/py-osd/distinfo1
-rw-r--r--misc/py-osd/files/patch-aa23
-rw-r--r--misc/py-osd/pkg-descr4
-rw-r--r--misc/py-osd/pkg-plist8
6 files changed, 63 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index bfda4bd92d07..b65d0cd1bcac 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -294,6 +294,7 @@
SUBDIR += projectionlib
SUBDIR += proxyper
SUBDIR += py-distutils
+ SUBDIR += py-osd
SUBDIR += py-pexpect
SUBDIR += pybliographer
SUBDIR += pypanda
diff --git a/misc/py-osd/Makefile b/misc/py-osd/Makefile
new file mode 100644
index 000000000000..434d1470cd29
--- /dev/null
+++ b/misc/py-osd/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: py-osd
+# Date created: 08 Aug 2003
+# Whom: larse@isi.edu
+#
+# $FreeBSD$
+#
+
+PORTNAME= osd
+PORTVERSION= 0.2.6
+CATEGORIES= misc python
+MASTER_SITES= http://repose.cx/pyosd/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyosd-${PORTVERSION}
+
+MAINTAINER= larse@isi.edu
+COMMENT= A python wrapper for osd, for displaying text on your X display
+
+LIB_DEPENDS= xosd.4:${PORTSDIR}/misc/xosd
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+post-extract:
+ ${MV} ${WRKSRC}/pyosd ${WRKSRC}/osd
+
+.include <bsd.port.mk>
diff --git a/misc/py-osd/distinfo b/misc/py-osd/distinfo
new file mode 100644
index 000000000000..3dcf99f3592e
--- /dev/null
+++ b/misc/py-osd/distinfo
@@ -0,0 +1 @@
+MD5 (pyosd-0.2.6.tar.gz) = 060df94f464f77f664446f59e62ca1a0
diff --git a/misc/py-osd/files/patch-aa b/misc/py-osd/files/patch-aa
new file mode 100644
index 000000000000..4cfcd88d8f7a
--- /dev/null
+++ b/misc/py-osd/files/patch-aa
@@ -0,0 +1,23 @@
+--- setup.py.orig Sat Nov 23 22:17:59 2002
++++ setup.py Sat Aug 9 10:11:17 2003
+@@ -2,15 +2,16 @@
+
+ from distutils.core import setup, Extension
+
+-setup (name = "pyosd",
++setup (name = "osd",
+ version = "0.2.6",
+ description = "Python wrapper for libosd",
+ url = "http://repose.cx/pyosd/",
+ author = "Damien Elmes",
+ author_email = "pyosd@repose.cx",
+- packages = ['pyosd'],
++ include_dirs = ['/usr/X11R6/include'],
++ packages = ['osd'],
+ ext_modules = \
+- [Extension("_pyosd", ["_pyosd.c"],
+- libraries=["xosd"])]
++ [Extension("_osd", ["_pyosd.c"],
++ library_dirs = ['/usr/X11R6/lib'], libraries=["xosd"])]
+ )
+
diff --git a/misc/py-osd/pkg-descr b/misc/py-osd/pkg-descr
new file mode 100644
index 000000000000..9fb921f95e0e
--- /dev/null
+++ b/misc/py-osd/pkg-descr
@@ -0,0 +1,4 @@
+PyOSD is a python module for displaying text on your X display,
+much like the "On Screen Displays" used on TVs and some monitors.
+
+WWW: http://repose.cx/pyosd/
diff --git a/misc/py-osd/pkg-plist b/misc/py-osd/pkg-plist
new file mode 100644
index 000000000000..01233c7fb629
--- /dev/null
+++ b/misc/py-osd/pkg-plist
@@ -0,0 +1,8 @@
+lib/%%PYTHON_VERSION%%/site-packages/_osd.so
+lib/%%PYTHON_VERSION%%/site-packages/osd/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/osd/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/osd/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/osd/daemon.py
+lib/%%PYTHON_VERSION%%/site-packages/osd/daemon.pyc
+lib/%%PYTHON_VERSION%%/site-packages/osd/daemon.pyo
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/osd