aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-shout/Makefile
blob: 7126f24d0502beb5acf0b19979108cd51dfc7099 (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
# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
# $FreeBSD$

PORTNAME=   shout
PORTVERSION=    0.2.1
PORTREVISION=   2
CATEGORIES= audio python
MASTER_SITES=   http://downloads.us.xiph.org/releases/libshout/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-python-${PORTVERSION}

MAINTAINER= python@FreeBSD.org
COMMENT=    Python bindings for libshout2

LICENSE=    LGPL20

OPTIONS_DEFINE= EXAMPLES

LIB_DEPENDS=    libshout.so:audio/libshout

EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

USES=       pkgconfig python:2 shebangfix
SHEBANG_FILES=  example.py
USE_PYTHON= distutils autoplist

PORTEXAMPLES=   example.py

post-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${CP} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>