1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/audio/py-mad/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

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>