View | Details | Raw Unified | Return to bug 164150
Collapse All | Expand All

(-)audio/py-mad/Makefile (-3 / +8 lines)
Lines 8-33 Link Here
8
PORTVERSION=	0.6
8
PORTVERSION=	0.6
9
PORTREVISION=	1
9
PORTREVISION=	1
10
CATEGORIES=	audio python
10
CATEGORIES=	audio python
11
MASTER_SITES=	http://spacepants.org/src/pymad/download/
11
MASTER_SITES=	GOOGLE_CODE
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
DISTNAME=	pymad-${PORTVERSION}
13
DISTNAME=	pymad-${PORTVERSION}
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Python module that provides the MPEG Audio Decoder interface
16
COMMENT=	Python module that provides the MPEG Audio Decoder interface
17
17
18
LICENSE=	LGPL20
19
LICENSE_FILE=	${WRKSRC}/COPYING
20
18
LIB_DEPENDS=	mad.2:${PORTSDIR}/audio/mad
21
LIB_DEPENDS=	mad.2:${PORTSDIR}/audio/mad
19
22
20
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/madmodule.so
23
PROJECTHOST=	pymad
21
USE_PYTHON=	yes
24
USE_PYTHON=	yes
22
USE_PYDISTUTILS=	yes
25
USE_PYDISTUTILS=	yes
23
USE_PYTHON_PREFIX=	yes
26
USE_PYTHON_PREFIX=	yes
24
PYDISTUTILS_PKGNAME=	pymad
27
PYDISTUTILS_PKGNAME=	pymad
25
28
29
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/madmodule.so
30
26
post-patch:
31
post-patch:
27
	@${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \
32
	@${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \
28
		${WRKSRC}/setup.py
33
		${WRKSRC}/setup.py
29
34
30
do-configure:
35
do-configure:
31
	@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE}
36
	@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${PYTHONBASE}
32
37
33
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)audio/py-mad/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
MPEG Audio Decoder library. It provides a high-level API which
2
MPEG Audio Decoder library. It provides a high-level API which
3
makes reading from MPEG audio streams a piece of cake. 
3
makes reading from MPEG audio streams a piece of cake. 
4
4
5
WWW: http://spacepants.org/src/pymad/
5
WWW: http://code.google.com/p/pymad/

Return to bug 164150