From 1c7b49c41fb569007a9d37104565abe20fad2ac5 Mon Sep 17 00:00:00 2001 From: xsa Date: Tue, 3 Feb 2004 22:07:40 +0000 Subject: [PATCH] Import py-ao-0.82 pyao - a Python wrapper module for the ao library. ok sturm@. --- audio/py-ao/Makefile | 37 +++++++++++++++++++++++++++++++++++++ audio/py-ao/distinfo | 3 +++ audio/py-ao/pkg/DESCR | 1 + audio/py-ao/pkg/PLIST | 4 ++++ 4 files changed, 45 insertions(+) create mode 100644 audio/py-ao/Makefile create mode 100644 audio/py-ao/distinfo create mode 100644 audio/py-ao/pkg/DESCR create mode 100644 audio/py-ao/pkg/PLIST diff --git a/audio/py-ao/Makefile b/audio/py-ao/Makefile new file mode 100644 index 00000000000..e3ac8f0d615 --- /dev/null +++ b/audio/py-ao/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/02/03 22:07:40 xsa Exp $ + +NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} + +COMMENT= "Python wrapper module for the ao library" + +DISTNAME= pyao-0.82 +PKGNAME= ${DISTNAME:S/py/py-/} +CATEGORIES= audio +HOMEPAGE= http://www.andrewchatham.com/pyogg/ + +MAINTAINER= Xavier Santolaria + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}download/ + +MODULES= python + +LIB_DEPENDS= ao.3::audio/libao + +NO_REGRESS= Yes + +EXAMPLESDIR= ${PREFIX}/share/examples/py-ao + +do-configure: + @cd ${WRKSRC} && ${MODPY_BIN} ./config_unix.py --prefix ${PREFIX} + +post-install: + ${INSTALL_DATA_DIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test.py ${EXAMPLESDIR} + +.include diff --git a/audio/py-ao/distinfo b/audio/py-ao/distinfo new file mode 100644 index 00000000000..7b502f2a8d4 --- /dev/null +++ b/audio/py-ao/distinfo @@ -0,0 +1,3 @@ +MD5 (pyao-0.82.tar.gz) = 8e00f5154401a6f6d99efd20606e2819 +RMD160 (pyao-0.82.tar.gz) = 6d602ef060ddc22b4cff841741c90fa88af45fed +SHA1 (pyao-0.82.tar.gz) = 9b213da96030648a5fa589d5eab7e1791374e269 diff --git a/audio/py-ao/pkg/DESCR b/audio/py-ao/pkg/DESCR new file mode 100644 index 00000000000..589dc75560b --- /dev/null +++ b/audio/py-ao/pkg/DESCR @@ -0,0 +1 @@ +pyao - a Python wrapper module for the ao library. diff --git a/audio/py-ao/pkg/PLIST b/audio/py-ao/pkg/PLIST new file mode 100644 index 00000000000..02f7bbf595d --- /dev/null +++ b/audio/py-ao/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/02/03 22:07:40 xsa Exp $ +lib/python${MODPY_VERSION}/site-packages/aomodule.so +share/examples/py-ao/test.py +@dirrm share/examples/py-ao