aboutsummaryrefslogtreecommitdiff
path: root/audio/py-openal
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-05-10 22:04:15 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-05-10 22:04:15 +0000
commitfbff49578b68c091667eb2cb4f5ce953e144fcce (patch)
treed8c99d6bc73d2b10267c7e04603d5702cf255877 /audio/py-openal
parentfe0fd7ba837f7d4d8daa8d8328cdb22919346a25 (diff)
downloadports-fbff49578b68c091667eb2cb4f5ce953e144fcce.tar.gz
ports-fbff49578b68c091667eb2cb4f5ce953e144fcce.zip
Notes
Diffstat (limited to 'audio/py-openal')
-rw-r--r--audio/py-openal/Makefile2
-rw-r--r--audio/py-openal/distinfo6
-rw-r--r--audio/py-openal/files/patch-setup.py28
3 files changed, 24 insertions, 12 deletions
diff --git a/audio/py-openal/Makefile b/audio/py-openal/Makefile
index f3ac33e3584e..3f16632187af 100644
--- a/audio/py-openal/Makefile
+++ b/audio/py-openal/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openal
-PORTVERSION= 0.1.5
+PORTVERSION= 0.1.6
CATEGORIES= audio python
MASTER_SITES= http://download.gna.org/pyopenal/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/audio/py-openal/distinfo b/audio/py-openal/distinfo
index eef2cf6e485c..eb4f91088606 100644
--- a/audio/py-openal/distinfo
+++ b/audio/py-openal/distinfo
@@ -1,3 +1,3 @@
-MD5 (python/PyOpenAL-0.1.5.tar.gz) = ffdb5a207aea2c8365fce575ee8a78c4
-SHA256 (python/PyOpenAL-0.1.5.tar.gz) = 95eed64ca5952550ea16773282bec555d03d93f46a356083877ab10aa49b5bd0
-SIZE (python/PyOpenAL-0.1.5.tar.gz) = 27528
+MD5 (python/PyOpenAL-0.1.6.tar.gz) = 51992fc62df474614ea6eb724061f392
+SHA256 (python/PyOpenAL-0.1.6.tar.gz) = 94b69cc57fe5e5abe2876865a6e2264d180892e82ac2ed684dc8eaf2cbf1ec5e
+SIZE (python/PyOpenAL-0.1.6.tar.gz) = 27698
diff --git a/audio/py-openal/files/patch-setup.py b/audio/py-openal/files/patch-setup.py
index 29e2a0c78c57..77e0d117f999 100644
--- a/audio/py-openal/files/patch-setup.py
+++ b/audio/py-openal/files/patch-setup.py
@@ -1,6 +1,22 @@
---- setup.py Mon Oct 17 23:22:45 2005
-+++ setup.py Mon Oct 17 23:22:19 2005
-@@ -24,10 +24,10 @@
+--- setup.py Sun Apr 30 10:23:44 2006
++++ setup.py Wed May 10 09:25:22 2006
+@@ -1,13 +1,13 @@
+ import os
+ from distutils.core import setup, Extension
+
+-LIBDIRS = ["/usr/lib", "/usr/local/lib"]
++LIBDIRS = ["/usr/lib", "/usr/local/lib", "%%PREFIX%%/lib"]
+ LIBS = ["openal", "alut"]
+
+ try:
+ openal_version = os.popen("openal-config --version").read()
+ if openal_version[0] == "0":
+- LIBDIRS = ["/usr/lib", "/usr/local/lib"]
++ LIBDIRS = ["/usr/lib", "/usr/local/lib", "%%PREFIX%%/lib"]
+ LIBS = ["openal"]
+
+ except:
+@@ -38,7 +38,7 @@
ext_modules = [Extension("_openal",
["py_openal.c"],
@@ -8,8 +24,4 @@
+ ["/usr/include", "/usr/local/include", "%%PREFIX%%/include"],
[("HAVE_CONFIG_H", None)],
None,
-- ["/usr/lib", "/usr/local/lib"],
-+ ["/usr/lib", "/usr/local/lib", "%%PREFIX%%/lib"],
- ["openal"],
- )
- ]
+ LIBDIRS,