2002-10-08 07:14:39 +00:00
|
|
|
# New ports collection makefile for: py-mad
|
|
|
|
# Date created: 8 October 2002
|
|
|
|
# Whom: Hye-Shik Chang
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mad
|
2007-02-12 13:04:14 +00:00
|
|
|
PORTVERSION= 0.6
|
2008-06-06 13:08:29 +00:00
|
|
|
PORTREVISION= 1
|
2002-10-08 07:14:39 +00:00
|
|
|
CATEGORIES= audio python
|
|
|
|
MASTER_SITES= http://spacepants.org/src/pymad/download/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pymad-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 06:25:35 +00:00
|
|
|
COMMENT= Python module that provides the MPEG Audio Decoder interface
|
2002-10-08 07:14:39 +00:00
|
|
|
|
2003-12-07 01:27:06 +00:00
|
|
|
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/mad
|
2002-10-08 07:14:39 +00:00
|
|
|
|
2004-02-06 13:12:53 +00:00
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/madmodule.so
|
2002-10-08 07:14:39 +00:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
USE_PYTHON_PREFIX= yes
|
2007-07-30 09:42:28 +00:00
|
|
|
PYDISTUTILS_PKGNAME= pymad
|
2002-10-08 07:14:39 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \
|
|
|
|
${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py --prefix ${PREFIX}
|
|
|
|
|
2007-05-02 08:02:07 +00:00
|
|
|
.include <bsd.port.mk>
|