mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
31 lines
658 B
Makefile
31 lines
658 B
Makefile
# New ports collection makefile for: py-mad
|
|
# Date created: 8 October 2002
|
|
# Whom: Hye-Shik Chang
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mad
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= http://spacepants.org/src/pymad/download/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pymad-${PORTVERSION}
|
|
|
|
MAINTAINER= perky@FreeBSD.org
|
|
|
|
LIB_DEPENDS= mad.1:${PORTSDIR}/audio/mad
|
|
|
|
USE_REINPLACE= yes
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
USE_PYTHON_PREFIX= yes
|
|
|
|
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>
|