aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-mad/Makefile
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-mad/Makefile
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-mad/Makefile')
-rw-r--r--audio/py-mad/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio/py-mad/Makefile b/audio/py-mad/Makefile
index 35dc3dbb4110..96cb00fc95e2 100644
--- a/audio/py-mad/Makefile
+++ b/audio/py-mad/Makefile
@@ -14,16 +14,14 @@ COMMENT= Python module that provides the MPEG Audio Decoder interface
LICENSE= LGPL20
-LIB_DEPENDS= mad:${PORTSDIR}/audio/mad
+LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/mad
-USE_PYTHON= yes
-NO_STAGE= yes
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
+PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pymad
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/madmodule.so
-
do-configure:
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
--prefix ${LOCALBASE}