summaryrefslogtreecommitdiff
path: root/audio/moss/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-08-10 06:48:21 +0000
committerminskim <minskim@pkgsrc.org>2004-08-10 06:48:21 +0000
commitaf756b7097d1163aa257b11452f17784645da4fd (patch)
tree16bbcaf49cf383af078df341218b298931e2d59b /audio/moss/Makefile
parentc2164cca0efe2caad4c0d5feafaf14c4053095d9 (diff)
downloadpkgsrc-af756b7097d1163aa257b11452f17784645da4fd.tar.gz
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.
Diffstat (limited to 'audio/moss/Makefile')
-rw-r--r--audio/moss/Makefile35
1 files changed, 35 insertions, 0 deletions
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"