aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-vorbis/Makefile
blob: 131f2b5e3c53e658a8a0317be5acb9aea1ca55e5 (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
30
31
32
# New ports collection makefile for: pyvorbis
# Date created:     23 Sep 2002
# Whom:         makeport.pl
#
# $FreeBSD$
#

PORTNAME=   vorbis
PORTVERSION=    1.4
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://www.andrewchatham.com/pyogg/download/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pyvorbis-${PORTVERSION}

MAINTAINER= xride@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=    vorbis.4:${PORTSDIR}/audio/libvorbis

PLIST_FILES=    lib/%%PYTHON_VERSION%%/site-packages/ogg/vorbis.so
USE_PYTHON=     yes
USE_PYDISTUTILS=    yes
USE_GCC=        3.4
PYDISTUTILS_PKGNAME=    pyvorbis

do-configure:
    @cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py

.include <bsd.port.mk>