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

PORTNAME=	shout
PORTVERSION=	0.2.1
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

LIB_DEPENDS=	shout.5:${PORTSDIR}/audio/libshout2

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

USES=			pkgconfig
NO_STAGE=	yes
USE_PYTHON=		2.5+
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	${PORTNAME}-python

.if !defined(NOPORTEXAMPLES)
post-install:
	@${MKDIR} ${EXAMPLESDIR}
	${CP} ${WRKSRC}/example.py ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>