blob: eede3a7e431079543a4f466c81c28213c74c9839 (
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
|
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= pyliblo
PORTVERSION= 0.10.0
CATEGORIES= audio python
MASTER_SITES= http://das.nasophon.de/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python wrapper for the Liblo OSC Library
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= pyrex>=0.9.4:${PORTSDIR}/devel/pyrex \
${LOCALBASE}/bin/cython:${PORTSDIR}/lang/cython
LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo
USES= python
USE_PYTHON= distutils
MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' ${WRKSRC}/setup.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/liblo.so
${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
|