freebsd-ports/audio/py-mad/Makefile
Dmitry Marakasov 31a6b9519c - Clarify LICENSE
- Add LICENSE_FILE
- Strip library
2015-03-13 13:25:28 +00:00

31 lines
705 B
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= mad
PORTVERSION= 0.7
PORTREVISION= 4
CATEGORIES= audio python
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= pymad
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pymad-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module that provides the MPEG Audio Decoder interface
LICENSE= LGPL20 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
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}/madmodule.so
.include <bsd.port.mk>