1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/audio/py-mad/Makefile
Martin Wilke 7a56d54f87 - Update MASTER_SITES and WWW: line
- Add LICENSE

PR:		164150
Submitted by:	Ports Fury
2012-01-28 17:49:24 +00:00

39 lines
855 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= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pymad-${PORTVERSION}
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
PROJECTHOST= pymad
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
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}
.include <bsd.port.mk>