aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-mad/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-01-29 01:49:24 +0800
committermiwi <miwi@FreeBSD.org>2012-01-29 01:49:24 +0800
commit45e81c1672f72a849877596e9d54d5af53c64486 (patch)
tree018ea3b7cea459d0d1915ada52514bb8d6b0f1ff /audio/py-mad/Makefile
parent62c2e535cbc4a745d685234b79ee1c721c9cf95e (diff)
downloadfreebsd-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/Makefile')
-rw-r--r--audio/py-mad/Makefile11
1 files changed, 8 insertions, 3 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>