blob: 5ac6f4477909c42fa2c339e162571bfbe3364365 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= mad
PORTVERSION= 0.9
DISTVERSIONPREFIX= version/
CATEGORIES= audio python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module that provides the MPEG Audio Decoder interface
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmad.so:audio/libmad
USE_GITHUB= yes
GH_ACCOUNT= jaqx0r
GH_PROJECT= pymad
USES= python:2
USE_PYTHON= distutils autoplist pythonprefix
do-configure:
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
--prefix ${LOCALBASE}
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mad.so
.include <bsd.port.mk>
|