aboutsummaryrefslogtreecommitdiff
path: root/audio/py-pyliblo/Makefile
blob: 110d4341196cb2b3fe17845c815ee589315afa47 (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
35
36
# New ports collection makefile for:	py-pyliblo
# Date created:		2009-01-25
# Whom:			Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	pyliblo
PORTVERSION=	0.7.2
CATEGORIES=	audio python
MASTER_SITES=	http://das.nasophon.de/download/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	wenheping@gmail.com
COMMENT=	A Python wrapper for the Liblo OSC Library

BUILD_DEPENDS=	pyrex>=0.9.4:${PORTSDIR}/devel/pyrex
LIB_DEPENDS=	lo.6:${PORTSDIR}/audio/liblo

USE_PYTHON=		yes
USE_PYDISTUTILS=	yes
MAKE_ENV+=		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=	dump_osc.1 send_osc.1

post-install:
	${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${LOCALBASE}/man/man1
	${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${LOCALBASE}/man/man1

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/API.html ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/examples.html ${DOCSDIR}
.endif

.include <bsd.port.mk>