1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/audio/py-pyliblo/Makefile
Wen Heping 210158d106 - Add LICENSE
- Pet portlint
- Reset maintainer to ports@
2014-05-11 15:46:40 +00:00

37 lines
1009 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= pyliblo
PORTVERSION= 0.9.1
PORTREVISION= 1
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
BUILD_DEPENDS= pyrex>=0.9.4:${PORTSDIR}/devel/pyrex
LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo
USE_PYTHON= yes
USE_PYDISTUTILS= yes
MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' ${WRKSRC}/setup.py
post-install:
${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/API.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/examples.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>