blob: 2d37ef405601fcae8efff5a2af3ec66f17612f76 (
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
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= PyOgg
DISTVERSION= 0.6.14a1
PORTREVISION= 1
CATEGORIES= audio python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Xiph.org's Ogg Vorbis, Opus, and FLAC for Python
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/lib/libFLAC.so:audio/flac \
${LOCALBASE}/lib/libogg.so:audio/libogg \
${LOCALBASE}/lib/libopusfile.so:audio/opusfile \
${LOCALBASE}/lib/libvorbis.so:audio/libvorbis
USES= python
USE_PYTHON= autoplist distutils
# Prevent needless (and wrong) PATH poisoning on Unix-like systems
post-patch:
@${REINPLACE_CMD} -e '48,/os\.environ\["PATH"\]/d' \
${WRKSRC}/pyogg/library_loader.py
.include <bsd.port.mk>
|