View | Details | Raw Unified | Return to bug 177265
Collapse All | Expand All

(-)audio/py-mad/Makefile (-14 / +6 lines)
Lines 1-14 Link Here
1
# New ports collection makefile for:	py-mad
1
# Created by: Hye-Shik Chang
2
# Date created:		8 October 2002
3
# Whom:			Hye-Shik Chang
4
#
5
# $FreeBSD: head/audio/py-mad/Makefile 300895 2012-07-14 12:56:14Z beat $
2
# $FreeBSD: head/audio/py-mad/Makefile 300895 2012-07-14 12:56:14Z beat $
6
3
7
PORTNAME=	mad
4
PORTNAME=	mad
8
PORTVERSION=	0.6
5
PORTVERSION=	0.7
9
PORTREVISION=	1
10
CATEGORIES=	audio python
6
CATEGORIES=	audio python
11
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	GOOGLE_CODE
8
PROJECTHOST=	pymad
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
13
DISTNAME=	pymad-${PORTVERSION}
10
DISTNAME=	pymad-${PORTVERSION}
14
11
Lines 16-26 Link Here
16
COMMENT=	Python module that provides the MPEG Audio Decoder interface
13
COMMENT=	Python module that provides the MPEG Audio Decoder interface
17
14
18
LICENSE=	LGPL20
15
LICENSE=	LGPL20
19
LICENSE_FILE=	${WRKSRC}/COPYING
20
16
21
LIB_DEPENDS=	mad.2:${PORTSDIR}/audio/mad
17
LIB_DEPENDS=	mad:${PORTSDIR}/audio/mad
22
18
23
PROJECTHOST=	pymad
24
USE_PYTHON=	yes
19
USE_PYTHON=	yes
25
USE_PYDISTUTILS=	yes
20
USE_PYDISTUTILS=	yes
26
USE_PYTHON_PREFIX=	yes
21
USE_PYTHON_PREFIX=	yes
Lines 28-38 Link Here
28
23
29
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/madmodule.so
24
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/madmodule.so
30
25
31
post-patch:
32
	@${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \
33
		${WRKSRC}/setup.py
34
35
do-configure:
26
do-configure:
36
	@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${PYTHONBASE}
27
	@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
28
		--prefix ${LOCALBASE}
37
29
38
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)audio/py-mad/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pymad-0.6.tar.gz) = 1c9fc529b78de7d26e9e47cf182c9f8bf43838d8f62a9c1773540d57f5ebc522
1
SHA256 (pymad-0.7.tar.gz) = 53ae5d3382074f21431299a3186fc9f778fe106f26d737846cc1ef2c34b2d8a1
2
SIZE (pymad-0.6.tar.gz) = 22099
2
SIZE (pymad-0.7.tar.gz) = 21510

Return to bug 177265