aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-vorbis/Makefile
blob: 68eb4e640a42a2cd96f4207d7e96a2de91c66537 (plain) (blame)
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: makeport.pl
# $FreeBSD$

PORTNAME=   vorbis
PORTVERSION=    1.4
PORTREVISION=   4
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

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg
LIB_DEPENDS=    libvorbis.so:${PORTSDIR}/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

.include <bsd.port.mk>