freebsd-ports/audio/py-vorbis/Makefile
Tijl Coosemans 7ae3f48312 Remove libogg.so.8, libvorbis.so.4 and libvorbisfile.so.6 compatibility
links that were added in r374303 to prevent massive PORTREVISION bumps.
Bump dependent ports that have not been bumped since.
2016-12-08 15:38:24 +00:00

35 lines
851 B
Makefile

# Created by: makeport.pl
# $FreeBSD$
PORTNAME= vorbis
PORTVERSION= 1.4
PORTREVISION= 5
CATEGORIES= audio python
MASTER_SITES= http://ekyo.nerim.net/software/pyogg/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyvorbis-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Object-oriented Python bindings for the vorbis library
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_ogg.so:audio/py-ogg
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_ogg.so:audio/py-ogg
LIB_DEPENDS= libvorbis.so:audio/libvorbis
USES= python:2
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/config_unix.py
do-configure:
@cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ogg/vorbis.so
.include <bsd.port.mk>