From af756b7097d1163aa257b11452f17784645da4fd Mon Sep 17 00:00:00 2001 From: minskim Date: Tue, 10 Aug 2004 06:48:21 +0000 Subject: Initial import of moss-0.1.2. Packaged by Yongbin Yu. MOSS (MP3/OGG Streaming Server) is an HTTP-based streaming server written in Python. It supports the web mode where you browse and select songs, and the live mode which supports real-time broadcast. --- audio/moss/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 audio/moss/Makefile (limited to 'audio/moss/Makefile') diff --git a/audio/moss/Makefile b/audio/moss/Makefile new file mode 100644 index 00000000000..4f02a8b3d91 --- /dev/null +++ b/audio/moss/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/08/10 06:48:21 minskim Exp $ + +DISTNAME= moss-0.1.2 +CATEGORIES= audio +MASTER_SITES= http://kldp.net/download.php/1377/ + +MAINTAINER= yongbin@yongbin.com +HOMEPAGE= http://moss.kldp.net/ +COMMENT= MP3/OGG Streaming Server + +DEPENDS+= ${PYPKGPREFIX}-ogg>=1.3:../../audio/py-ogg +DEPENDS+= ${PYPKGPREFIX}-vorbis>=1.3:../../audio/py-vorbis + +USE_BUILDLINK3= yes +USE_PKGINSTALL= yes + +PYTHON_PATCH_SCRIPTS= ${WRKSRC}/*.py + +RCD_SCRIPTS= moss +CONF_FILES= ${PREFIX}/share/moss/moss.conf.sample \ + ${PKG_SYSCONFDIR}/moss.conf + +SUBST_CLASSES+= path +SUBST_MESSAGE.path= "Fixing hardcoded paths." +SUBST_STAGE.path= post-patch +SUBST_FILES.path= moss.conf.sample +SUBST_SED.path= -e 's,/usr/local,${PREFIX},g' -e 's,/var,${VARBASE},g' + +FILES_SUBST+= INTERPRETER=${PYTHONBIN} + +PYDISTUTILSPKG= yes + +.include "../../lang/python/extension.mk" +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3