1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/audio/py-mad/Makefile
Edwin Groothuis 6527ef2070 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 13:08:29 +00:00

34 lines
800 B
Makefile

# New ports collection makefile for: py-mad
# Date created: 8 October 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
PORTNAME= mad
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= audio python
MASTER_SITES= http://spacepants.org/src/pymad/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pymad-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= Python module that provides the MPEG Audio Decoder interface
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/mad
PLIST_FILES= %%PYTHON_SITELIBDIR%%/madmodule.so
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
PYDISTUTILS_PKGNAME= pymad
post-patch:
@${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \
${WRKSRC}/setup.py
do-configure:
@cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py --prefix ${PREFIX}
.include <bsd.port.mk>