Import py-osd 0.2.14
PyOSD is a python module for displaying text on your X display, much like the "On Screen Displays" used on TVs and some monitors.
This commit is contained in:
parent
31f34d0736
commit
f40ec3c360
39
x11/py-osd/Makefile
Normal file
39
x11/py-osd/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/10/14 16:35:26 alek Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "python bindings to the XOSD library"
|
||||
|
||||
DISTNAME= pyosd-0.2.14
|
||||
PKGNAME= ${DISTNAME:S/^py/py-/}
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://repose.cx/pyosd/
|
||||
|
||||
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
LIB_DEPENDS= xosd.>=4::x11/xosd
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
pre-build:
|
||||
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g" ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-osd
|
||||
${INSTALL_DATA} ${WRKSRC}/pyosd.html ${PREFIX}/share/doc/py-osd
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-osd
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/py-osd
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/modules/*.py ${PREFIX}/share/py-osd
|
||||
|
||||
.include <bsd.port.mk>
|
4
x11/py-osd/distinfo
Normal file
4
x11/py-osd/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (pyosd-0.2.14.tar.gz) = 3beb6692c4d76b3318e7876a6dd03bdf
|
||||
RMD160 (pyosd-0.2.14.tar.gz) = b9c8fcee64784216d7e9059f55c606c192a2558b
|
||||
SHA1 (pyosd-0.2.14.tar.gz) = e3d1c83563bfbeb88e91b8f1c73ebc468b014773
|
||||
SIZE (pyosd-0.2.14.tar.gz) = 20845
|
12
x11/py-osd/patches/patch-setup_py
Normal file
12
x11/py-osd/patches/patch-setup_py
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1.1.1 2006/10/14 16:35:26 alek Exp $
|
||||
--- setup.py.orig Thu Jul 20 01:11:22 2006
|
||||
+++ setup.py Thu Jul 20 01:11:59 2006
|
||||
@@ -11,6 +11,7 @@ setup (name = "pyosd",
|
||||
packages = ['pyosd'],
|
||||
ext_modules = \
|
||||
[Extension("_pyosd", ["_pyosd.c"],
|
||||
- libraries=["xosd"])]
|
||||
+ libraries=["xosd"], include_dirs=["!!LOCALBASE!!/include"],
|
||||
+ library_dirs=['!!LOCALBASE!!/lib'])]
|
||||
)
|
||||
|
2
x11/py-osd/pkg/DESCR
Normal file
2
x11/py-osd/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
PyOSD is a python module for displaying text on your X display, much
|
||||
like the "On Screen Displays" used on TVs and some monitors.
|
14
x11/py-osd/pkg/PLIST
Normal file
14
x11/py-osd/pkg/PLIST
Normal file
@ -0,0 +1,14 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/14 16:35:26 alek Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/_pyosd.so
|
||||
lib/python${MODPY_VERSION}/site-packages/pyosd/
|
||||
lib/python${MODPY_VERSION}/site-packages/pyosd/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pyosd/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pyosd/daemon.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pyosd/daemon.pyc
|
||||
share/doc/py-osd/
|
||||
share/doc/py-osd/README
|
||||
share/doc/py-osd/pyosd.html
|
||||
share/py-osd/
|
||||
share/py-osd/battery.py
|
||||
share/py-osd/display.py
|
||||
share/py-osd/volume.py
|
Loading…
Reference in New Issue
Block a user