diff options
author | Richard Gallamore <ultima@FreeBSD.org> | 2017-08-20 18:33:15 +0000 |
---|---|---|
committer | Richard Gallamore <ultima@FreeBSD.org> | 2017-08-20 18:33:15 +0000 |
commit | 5f34f360f9e82b15c639014a614da8175c27352b (patch) | |
tree | a93e20a577542390eefab437713bb3335aaf5231 /audio/py-py-jack/Makefile | |
parent | Removed tags file, this should never have been committed (diff) |
Renamed to py-py-jack to match PyPI package name
PR: 220990
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D12079
Notes
Notes:
svn path=/head/; revision=448438
Diffstat (limited to 'audio/py-py-jack/Makefile')
-rw-r--r-- | audio/py-py-jack/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/audio/py-py-jack/Makefile b/audio/py-py-jack/Makefile new file mode 100644 index 000000000000..171fdf9e389f --- /dev/null +++ b/audio/py-py-jack/Makefile @@ -0,0 +1,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 + +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> |