summaryrefslogtreecommitdiffstats
path: root/audio/py-py-jack/Makefile
blob: 171fdf9e389fc042ea4737d2ecf886777d07e5a7 (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
30
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=	py-jack
PORTVERSION=	0.5.2
CATEGORIES=	audio python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@rawbw.com
COMMENT=	Python bindings for the Jack Audio Server

LICENSE=	GPLv2

LIB_DEPENDS=	libjack.so:audio/jack
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy

USES=		python:-2.7 localbase
USE_PYTHON=	distutils autoplist

post-patch:
	@${REINPLACE_CMD} -e \
		's|"/usr/local/|"${LOCALBASE}/|; \
		 s|"jack", "dl"|"jack"|; \
		 s|os.system.*|pass|' \
		${WRKSRC}/setup.py
post-install:
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jack.so

.include <bsd.port.mk>
OpenPOWER on IntegriCloud