2009-02-09 20:10:15 +00:00
|
|
|
# New ports collection makefile for: py-pyliblo
|
|
|
|
# Date created: 2009-01-25
|
|
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pyliblo
|
2011-02-12 06:51:32 +00:00
|
|
|
PORTVERSION= 0.9.1
|
2009-02-09 20:10:15 +00:00
|
|
|
CATEGORIES= audio python
|
|
|
|
MASTER_SITES= http://das.nasophon.de/download/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2009-10-04 23:40:14 +00:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2009-02-09 20:10:15 +00:00
|
|
|
COMMENT= A Python wrapper for the Liblo OSC Library
|
|
|
|
|
|
|
|
BUILD_DEPENDS= pyrex>=0.9.4:${PORTSDIR}/devel/pyrex
|
2009-03-31 05:25:03 +00:00
|
|
|
LIB_DEPENDS= lo.7:${PORTSDIR}/audio/liblo
|
2009-02-09 20:10:15 +00:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-02-09 20:10:15 +00:00
|
|
|
|
|
|
|
MAN1= dump_osc.1 send_osc.1
|
|
|
|
|
2009-05-31 16:04:41 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' ${WRKSRC}/setup.py
|
|
|
|
|
2009-02-09 20:10:15 +00:00
|
|
|
post-install:
|
2009-05-31 16:04:41 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${PREFIX}/man/man1
|
2009-02-09 20:10:15 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/API.html ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/examples.html ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2010-10-28 10:59:44 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 700000
|
|
|
|
USE_GCC= 4.2+
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|