671f85b107
act as a source for icecast 1 and 2, and shoutcast. WWW: http://www.icecast.org/ PR: ports/139671 Submitted by: Olivier Duchateau <duchateau.olivier at gmail.com>
32 lines
762 B
Makefile
32 lines
762 B
Makefile
# New ports collection makefile for: py-shout
|
|
# Date created: 2009-08-07
|
|
# Whom: 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= duchateau.olivier@gmail.com
|
|
COMMENT= Python bindings for libshout2
|
|
|
|
LIB_DEPENDS= shout.5:${PORTSDIR}/audio/libshout2
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= ${PORTNAME}-python
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${CP} ${WRKSRC}/example.py ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|