diff options
author | miwi <miwi@FreeBSD.org> | 2012-01-29 01:49:24 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-01-29 01:49:24 +0800 |
commit | 45e81c1672f72a849877596e9d54d5af53c64486 (patch) | |
tree | 018ea3b7cea459d0d1915ada52514bb8d6b0f1ff /audio/py-mad | |
parent | 62c2e535cbc4a745d685234b79ee1c721c9cf95e (diff) | |
download | freebsd-ports-gnome-45e81c1672f72a849877596e9d54d5af53c64486.tar.gz freebsd-ports-gnome-45e81c1672f72a849877596e9d54d5af53c64486.tar.zst freebsd-ports-gnome-45e81c1672f72a849877596e9d54d5af53c64486.zip |
- Update MASTER_SITES and WWW: line
- Add LICENSE
PR: 164150
Submitted by: Ports Fury
Diffstat (limited to 'audio/py-mad')
-rw-r--r-- | audio/py-mad/Makefile | 11 | ||||
-rw-r--r-- | audio/py-mad/pkg-descr | 2 |
2 files changed, 9 insertions, 4 deletions
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 <bsd.port.mk> 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/ |