aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-flac/Makefile
blob: 5a91783d8f5e59061476eda09b245f18cbe695ff (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
33
34
# New ports collection makefile for:    py-flac
# Date created:             5 January 2006
# Whom:                 Byung-Hee HWANG <bh@izb.knu.ac.kr>
#
# $FreeBSD$

PORTNAME=   flac
PORTVERSION=    0.0.4
CATEGORIES= audio python
MASTER_SITES=   http://www.sacredchao.net/~piman/software/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pyflac-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python module that provides the Free Lossless Audio Codec interface

LIB_DEPENDS=    FLAC.7:${PORTSDIR}/audio/flac
BUILD_DEPENDS=  swig:${PORTSDIR}/devel/swig13

USE_PYTHON= yes
USE_GMAKE=  yes
USE_PYDISTUTILS=    yes
USE_PYTHON_PREFIX=  yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     Does not compile on FreeBSD 4.X
.endif

do-build:
    @cd ${WRKSRC} && ${GMAKE} build

.include <bsd.port.post.mk>