mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
7f4572eae4
With hat: portmgr Sponsored by: Absolight
33 lines
667 B
Makefile
33 lines
667 B
Makefile
# 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>
|