pkgsrc/audio/moss/Makefile
jlam dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00

36 lines
972 B
Makefile

# $NetBSD: Makefile,v 1.11 2005/12/29 06:21:31 jlam Exp $
DISTNAME= moss-0.1.13
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://kldp.net/frs/download.php/1580/
MAINTAINER= myunggoni@users.kldp.net
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
PYTHON_VERSIONS_ACCEPTED= 23 22 21
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,$${PREFIX}/var,${VARBASE},g' \
-e 's,$${PREFIX}/share,${PREFIX}/share,g'
FILES_SUBST+= INTERPRETER=${PYTHONBIN:Q}
PYDISTUTILSPKG= yes
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"