From 7a56d54f87d3052c12cdf1c6dfb79043289de697 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 28 Jan 2012 17:49:24 +0000 Subject: - Update MASTER_SITES and WWW: line - Add LICENSE PR: 164150 Submitted by: Ports Fury --- audio/py-mad/Makefile | 11 ++++++++--- audio/py-mad/pkg-descr | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'audio/py-mad') diff --git a/audio/py-mad/Makefile b/audio/py-mad/Makefile index cd43d1658ef5..abadcba0b1f8 100644 --- a/audio/py-mad/Makefile +++ b/audio/py-mad/Makefile @@ -8,26 +8,31 @@ PORTNAME= mad PORTVERSION= 0.6 PORTREVISION= 1 CATEGORIES= audio python -MASTER_SITES= http://spacepants.org/src/pymad/download/ +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 -PLIST_FILES= %%PYTHON_SITELIBDIR%%/madmodule.so +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 ${LOCALBASE} + @cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${PYTHONBASE} .include diff --git a/audio/py-mad/pkg-descr b/audio/py-mad/pkg-descr index dd2f68db6103..2837d1188111 100644 --- a/audio/py-mad/pkg-descr +++ b/audio/py-mad/pkg-descr @@ -2,4 +2,4 @@ This is a Python module that allows Python programs to use the MPEG Audio Decoder library. It provides a high-level API which makes reading from MPEG audio streams a piece of cake. -WWW: http://spacepants.org/src/pymad/ +WWW: http://code.google.com/p/pymad/ -- cgit v1.2.3