blob: 3c3e21bf74572e1933404d152699472a22f9fa6d (
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
|
# 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@${FLAVOR}
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>
|