aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-ao
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-09-28 06:36:11 +0800
committermva <mva@FreeBSD.org>2013-09-28 06:36:11 +0800
commit916f87b443c5200d9f55f83f975d4063dd27cc00 (patch)
treeea0917e81c5028bbaeb3957af82611b196091615 /audio/py-ao
parent8ceaa5089abe285baf32b51c6fba01da0aa80e2e (diff)
downloadfreebsd-ports-gnome-916f87b443c5200d9f55f83f975d4063dd27cc00.tar.gz
freebsd-ports-gnome-916f87b443c5200d9f55f83f975d4063dd27cc00.tar.zst
freebsd-ports-gnome-916f87b443c5200d9f55f83f975d4063dd27cc00.zip
- Enable stage support
- Convert to PYDISTUTILS_AUTOPLIST - Limit to the supported python versions - Change to new LIB_DEPENDS where necessary
Diffstat (limited to 'audio/py-ao')
-rw-r--r--audio/py-ao/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio/py-ao/Makefile b/audio/py-ao/Makefile
index 5c85ff9f6647..5af0dfb65992 100644
--- a/audio/py-ao/Makefile
+++ b/audio/py-ao/Makefile
@@ -15,15 +15,13 @@ COMMENT= Python wrapper for audio device abstraction library (libao)
LICENSE= GPLv2
-LIB_DEPENDS= ao:${PORTSDIR}/audio/libao
+LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao
-USE_PYTHON= yes
-NO_STAGE= yes
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pyao
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/aomodule.so
-
do-configure:
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
--prefix "${LOCALBASE}"