2013-09-12 02:48:38 +02:00
|
|
|
# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
|
2009-10-17 09:10:22 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= shout
|
|
|
|
PORTVERSION= 0.2.1
|
2018-02-19 12:10:43 +01:00
|
|
|
PORTREVISION= 4
|
2009-10-17 09:10:22 +02:00
|
|
|
CATEGORIES= audio python
|
|
|
|
MASTER_SITES= http://downloads.us.xiph.org/releases/libshout/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${PORTNAME}-python-${PORTVERSION}
|
|
|
|
|
2010-09-06 09:59:57 +02:00
|
|
|
MAINTAINER= python@FreeBSD.org
|
2009-10-17 09:10:22 +02:00
|
|
|
COMMENT= Python bindings for libshout2
|
|
|
|
|
2014-01-23 20:57:32 +01:00
|
|
|
LICENSE= LGPL20
|
2017-05-29 01:16:19 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2017-04-18 05:26:48 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libshout.so:audio/libshout
|
2009-10-17 09:10:22 +02:00
|
|
|
|
2017-05-29 01:16:19 +02:00
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
2009-10-17 09:10:22 +02:00
|
|
|
|
2018-02-19 12:10:43 +01:00
|
|
|
USES= pkgconfig python:2.7 shebangfix
|
2017-04-18 05:26:48 +02:00
|
|
|
SHEBANG_FILES= example.py
|
2017-05-29 01:16:19 +02:00
|
|
|
USE_PYTHON= autoplist distutils
|
2014-01-23 20:57:32 +01:00
|
|
|
|
2017-05-29 01:16:19 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
2014-01-23 20:57:32 +01:00
|
|
|
PORTEXAMPLES= example.py
|
2009-10-17 09:10:22 +02:00
|
|
|
|
2017-05-29 01:16:19 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/shout.so
|
|
|
|
|
2017-04-18 05:26:48 +02:00
|
|
|
post-install-EXAMPLES-on:
|
2014-01-23 20:57:32 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${CP} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}
|
2009-10-17 09:10:22 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|