aboutsummaryrefslogtreecommitdiff
path: root/audio/py-mad/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-23 17:58:06 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-23 17:58:06 +0000
commit04a64760fe501451ec24a134d5b7e7680fd09b8c (patch)
tree03b69ea3524dec1a0f0bbe7b40f36c185454aaf3 /audio/py-mad/Makefile
parent76d3a34ae2d0061031b7846a839ac1c55272a3fc (diff)
Notes
Diffstat (limited to 'audio/py-mad/Makefile')
-rw-r--r--audio/py-mad/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/audio/py-mad/Makefile b/audio/py-mad/Makefile
index abadcba0b1f8..7b66bfa7456d 100644
--- a/audio/py-mad/Makefile
+++ b/audio/py-mad/Makefile
@@ -1,14 +1,11 @@
-# New ports collection makefile for: py-mad
-# Date created: 8 October 2002
-# Whom: Hye-Shik Chang
-#
+# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= mad
-PORTVERSION= 0.6
-PORTREVISION= 1
+PORTVERSION= 0.7
CATEGORIES= audio python
MASTER_SITES= GOOGLE_CODE
+PROJECTHOST= pymad
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pymad-${PORTVERSION}
@@ -16,11 +13,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Python module that provides the MPEG Audio Decoder interface
LICENSE= LGPL20
-LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= mad.2:${PORTSDIR}/audio/mad
+LIB_DEPENDS= mad:${PORTSDIR}/audio/mad
-PROJECTHOST= pymad
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
@@ -28,11 +23,8 @@ PYDISTUTILS_PKGNAME= pymad
PLIST_FILES= %%PYTHON_SITELIBDIR%%/madmodule.so
-post-patch:
- @${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \
- ${WRKSRC}/setup.py
-
do-configure:
- @cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${PYTHONBASE}
+ @cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
+ --prefix ${LOCALBASE}
.include <bsd.port.mk>