summaryrefslogtreecommitdiff
path: root/audio/distmp3
diff options
context:
space:
mode:
authorgrant <grant>2005-02-13 11:55:56 +0000
committergrant <grant>2005-02-13 11:55:56 +0000
commit302c00991a0de09c929553dc0243184444aadb3b (patch)
treedddb848a3056237d63e9bf3f70db695f91e27947 /audio/distmp3
parent053a1d12c7a8841f3e7f3aeefcaf318cdfe7d1d7 (diff)
downloadpkgsrc-302c00991a0de09c929553dc0243184444aadb3b.tar.gz
Initial import of distmp3 0.1.9 into pkgsrc.
distmp3 is a client and a daemon (both written in perl) for distributed mp3-encoding across multiple hosts on a network. distmp3 can be used standalone or by a front-end CD ripper such as audio/abcde.
Diffstat (limited to 'audio/distmp3')
-rw-r--r--audio/distmp3/DESCR5
-rw-r--r--audio/distmp3/MESSAGE11
-rw-r--r--audio/distmp3/Makefile44
-rw-r--r--audio/distmp3/PLIST7
-rw-r--r--audio/distmp3/distinfo4
5 files changed, 71 insertions, 0 deletions
diff --git a/audio/distmp3/DESCR b/audio/distmp3/DESCR
new file mode 100644
index 00000000000..bc8a90b1d11
--- /dev/null
+++ b/audio/distmp3/DESCR
@@ -0,0 +1,5 @@
+distmp3 is a client and a daemon (both written in perl) for distributed
+mp3-encoding across multiple hosts on a network.
+
+distmp3 can be used standalone or by a front-end CD ripper such as
+audio/abcde.
diff --git a/audio/distmp3/MESSAGE b/audio/distmp3/MESSAGE
new file mode 100644
index 00000000000..1358142ba81
--- /dev/null
+++ b/audio/distmp3/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/02/13 11:55:56 grant Exp $
+
+You will need edit the distmp3 configuration file
+
+ ${PKG_SYSCONFDIR}/distmp3.conf
+
+to define at least SERVER_PROGRAM for your choice of encoder on the
+encoding hosts.
+
+===========================================================================
diff --git a/audio/distmp3/Makefile b/audio/distmp3/Makefile
new file mode 100644
index 00000000000..a5dd14aafc8
--- /dev/null
+++ b/audio/distmp3/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/13 11:55:56 grant Exp $
+#
+
+DISTNAME= distmp3-0.1.9
+CATEGORIES= audio
+MASTER_SITES= http://distro.ibiblio.org/pub/linux/distributions/sorcerer/sources/distmp3/0.1.9/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= grant@NetBSD.org
+COMMENT= Distributed mp3 encoding across multiple hosts
+
+USE_BUILDLINK3= yes
+USE_LANGUAGES= # empty
+USE_PERL5= # defined
+USE_PKGINSTALL= yes
+NO_BUILD= # defined
+
+EGDIR= ${PREFIX}/share/examples/distmp3
+CONF_FILES= ${EGDIR}/distmp3.conf ${PKG_SYSCONFDIR}/distmp3.conf
+REPLACE_PERL= distmp3 distmp3host
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing configuration file path."
+SUBST_STAGE.paths= post-configure
+SUBST_FILES.paths= distmp3 distmp3.1 distmp3host distmp3host.1
+SUBST_SED.paths= -e 's,/etc/distmp3,${PKG_SYSCONFDIR},'
+
+SUBST_CLASSES+= config
+SUBST_MESSAGE.config= "Fixing configuration file parameters."
+SUBST_STAGE.config= post-configure
+SUBST_FILES.config= distmp3.conf
+SUBST_SED.config+= -e 's,^SERVER_PROGRAM,; SERVER_PROGRAM,'
+SUBST_SED.config+= -e 's,/usr/local,${PREFIX},'
+
+#HOMEPAGE=
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/distmp3 ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/distmp3host ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/distmp3.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/distmp3host.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/distmp3.conf ${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/distmp3/PLIST b/audio/distmp3/PLIST
new file mode 100644
index 00000000000..db8d07ae927
--- /dev/null
+++ b/audio/distmp3/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/13 11:55:56 grant Exp $
+bin/distmp3
+bin/distmp3host
+man/man1/distmp3.1
+man/man1/distmp3host.1
+share/examples/distmp3/distmp3.conf
+@dirrm share/examples/distmp3
diff --git a/audio/distmp3/distinfo b/audio/distmp3/distinfo
new file mode 100644
index 00000000000..e64aa80db78
--- /dev/null
+++ b/audio/distmp3/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/13 11:55:56 grant Exp $
+
+SHA1 (distmp3-0.1.9.tar.bz2) = 009b6131a13213ca08bc860027340cc640535a76
+Size (distmp3-0.1.9.tar.bz2) = 12133 bytes