2006-08-23 12:38:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2006/08/23 10:38:01 minskim Exp $
|
2004-08-10 08:48:21 +02:00
|
|
|
|
2004-11-27 02:22:26 +01:00
|
|
|
DISTNAME= moss-0.1.13
|
2006-08-23 12:38:01 +02:00
|
|
|
PKGREVISION= 3
|
2004-08-10 08:48:21 +02:00
|
|
|
CATEGORIES= audio
|
2004-11-27 02:22:26 +01:00
|
|
|
MASTER_SITES= http://kldp.net/frs/download.php/1580/
|
2004-08-10 08:48:21 +02:00
|
|
|
|
2004-10-06 17:16:03 +02:00
|
|
|
MAINTAINER= myunggoni@users.kldp.net
|
2004-08-10 08:48:21 +02:00
|
|
|
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
|
|
|
|
|
2006-08-23 12:38:01 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 20 15
|
2004-08-17 17:50:30 +02:00
|
|
|
PYTHON_PATCH_SCRIPTS= ${WRKSRC}/*.py
|
2004-08-10 08:48:21 +02:00
|
|
|
|
|
|
|
RCD_SCRIPTS= moss
|
|
|
|
CONF_FILES= ${PREFIX}/share/moss/moss.conf.sample \
|
|
|
|
${PKG_SYSCONFDIR}/moss.conf
|
|
|
|
|
|
|
|
SUBST_CLASSES+= path
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.path= Fixing hardcoded paths.
|
2004-08-10 08:48:21 +02:00
|
|
|
SUBST_STAGE.path= post-patch
|
|
|
|
SUBST_FILES.path= moss.conf.sample
|
2006-05-22 12:01:02 +02:00
|
|
|
SUBST_SED.path= -e 's,$${PREFIX}/var,${VARBASE},g'
|
|
|
|
SUBST_SED.path+= -e 's,$${PREFIX}/share,${PREFIX}/share,g'
|
2004-08-10 08:48:21 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= INTERPRETER=${PYTHONBIN:Q}
|
2004-08-10 08:48:21 +02:00
|
|
|
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|