diff options
author | edwin <edwin@FreeBSD.org> | 2004-12-22 01:53:10 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-12-22 01:53:10 +0000 |
commit | 764c7300c1743d2d84a0b7310eac1e0ba7ce8261 (patch) | |
tree | 92d0489c1c00538356f396f359765f1e77e0b007 | |
parent | 9f23f9bbeffbef3fd25803b98419a33da8bd15cb (diff) | |
download | FreeBSD-ports-764c7300c1743d2d84a0b7310eac1e0ba7ce8261.zip FreeBSD-ports-764c7300c1743d2d84a0b7310eac1e0ba7ce8261.tar.gz |
New port: net/peercast (a peer-to-peer network for broadcasting and
listening to streams)
PeerCast is a new, free way to listen to radio and watch video
on the Internet. It uses P2P technology to let anyone become a
broadcaster without the costs of traditional streaming. This
means you get to hear and watch stations not normally found on
commercially funded sites.
PR: ports/75373
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
-rw-r--r-- | net-p2p/peercast/Makefile | 39 | ||||
-rw-r--r-- | net-p2p/peercast/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/peercast/files/peercast.in | 9 | ||||
-rw-r--r-- | net-p2p/peercast/pkg-descr | 9 | ||||
-rw-r--r-- | net-p2p/peercast/pkg-plist | 64 | ||||
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/peercast/Makefile | 39 | ||||
-rw-r--r-- | net/peercast/distinfo | 2 | ||||
-rw-r--r-- | net/peercast/files/peercast.in | 9 | ||||
-rw-r--r-- | net/peercast/pkg-descr | 9 | ||||
-rw-r--r-- | net/peercast/pkg-plist | 64 |
11 files changed, 247 insertions, 0 deletions
diff --git a/net-p2p/peercast/Makefile b/net-p2p/peercast/Makefile new file mode 100644 index 0000000..fbaca24 --- /dev/null +++ b/net-p2p/peercast/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: peercast +# Date created: 21 Dec 2004 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= peercast +PORTVERSION= 0.1211 +CATEGORIES= net multimedia +MASTER_SITES= http://www.peercast.org/ +DISTNAME= peercast-linux +EXTRACT_SUFX= .tgz + +MAINTAINER= jylefort@brutele.be +COMMENT= A peer-to-peer network for broadcasting and listening to streams + +USE_LINUX= yes +NO_WRKSUBDIR= yes + +do-build: + ${SED} -e 's|@PREFIX@|${PREFIX}|g; s|@DATADIR@|${DATADIR}|g' \ + ${FILESDIR}/peercast.in > ${WRKSRC}/peercast.sh + +do-install: + ${MKDIR} ${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/peercast ${PREFIX}/libexec + # rebrand binary (INSTALL_PROGRAM has stripped it) + ${BRANDELF} -t Linux ${PREFIX}/libexec/peercast +.for lang in de en fr ja + ${MKDIR} ${DATADIR}/html/${lang} + ${INSTALL_DATA} ${WRKSRC}/html/${lang}/*.* ${DATADIR}/html/${lang} + ${MKDIR} ${DATADIR}/html/${lang}/images + ${INSTALL_DATA} ${WRKSRC}/html/${lang}/images/*.* ${DATADIR}/html/${lang}/images +.endfor + ${MKDIR} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/peercast.sh ${PREFIX}/bin/peercast + +.include <bsd.port.mk> diff --git a/net-p2p/peercast/distinfo b/net-p2p/peercast/distinfo new file mode 100644 index 0000000..ce5fb96 --- /dev/null +++ b/net-p2p/peercast/distinfo @@ -0,0 +1,2 @@ +MD5 (peercast-linux.tgz) = 896a4201a2a2e90e06779654919e1cd4 +SIZE (peercast-linux.tgz) = 198726 diff --git a/net-p2p/peercast/files/peercast.in b/net-p2p/peercast/files/peercast.in new file mode 100644 index 0000000..b0ec099 --- /dev/null +++ b/net-p2p/peercast/files/peercast.in @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ ! -d "$HOME/.peercast" ]; then + mkdir "$HOME/.peercast" || exit 1 + ln -s "@DATADIR@/html" "@PREFIX@/libexec/peercast" "$HOME/.peercast" || exit 1 +fi + +cd "$HOME/.peercast" || exit 1 +exec ./peercast "$@" diff --git a/net-p2p/peercast/pkg-descr b/net-p2p/peercast/pkg-descr new file mode 100644 index 0000000..a5f3266 --- /dev/null +++ b/net-p2p/peercast/pkg-descr @@ -0,0 +1,9 @@ +PeerCast is a new, free way to listen to radio and watch video on the +Internet. It uses P2P technology to let anyone become a broadcaster +without the costs of traditional streaming. This means you get to hear +and watch stations not normally found on commercially funded sites. + +WWW: http://www.peercast.org/ + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/net-p2p/peercast/pkg-plist b/net-p2p/peercast/pkg-plist new file mode 100644 index 0000000..d518150 --- /dev/null +++ b/net-p2p/peercast/pkg-plist @@ -0,0 +1,64 @@ +bin/peercast +libexec/peercast +share/peercast/html/de/broadcast.html +share/peercast/html/de/chaninfo.html +share/peercast/html/de/connections.html +share/peercast/html/de/images/play.png +share/peercast/html/de/images/small-logo.png +share/peercast/html/de/index.html +share/peercast/html/de/login.html +share/peercast/html/de/logout.html +share/peercast/html/de/peercast.css +share/peercast/html/de/relayinfo.html +share/peercast/html/de/relays.html +share/peercast/html/de/settings.html +share/peercast/html/de/viewlog.html +share/peercast/html/en/broadcast.html +share/peercast/html/en/chaninfo.html +share/peercast/html/en/connections.html +share/peercast/html/en/images/play.png +share/peercast/html/en/images/small-logo.png +share/peercast/html/en/index.html +share/peercast/html/en/login.html +share/peercast/html/en/logout.html +share/peercast/html/en/peercast.css +share/peercast/html/en/relayinfo.html +share/peercast/html/en/relays.html +share/peercast/html/en/settings.html +share/peercast/html/en/viewlog.html +share/peercast/html/fr/broadcast.html +share/peercast/html/fr/chaninfo.html +share/peercast/html/fr/connections.html +share/peercast/html/fr/images/play.png +share/peercast/html/fr/images/small-logo.png +share/peercast/html/fr/index.html +share/peercast/html/fr/login.html +share/peercast/html/fr/logout.html +share/peercast/html/fr/peercast.css +share/peercast/html/fr/relayinfo.html +share/peercast/html/fr/relays.html +share/peercast/html/fr/settings.html +share/peercast/html/fr/viewlog.html +share/peercast/html/ja/broadcast.html +share/peercast/html/ja/chaninfo.html +share/peercast/html/ja/connections.html +share/peercast/html/ja/images/play.png +share/peercast/html/ja/images/small-logo.png +share/peercast/html/ja/index.html +share/peercast/html/ja/login.html +share/peercast/html/ja/logout.html +share/peercast/html/ja/peercast.css +share/peercast/html/ja/relayinfo.html +share/peercast/html/ja/relays.html +share/peercast/html/ja/settings.html +share/peercast/html/ja/viewlog.html +@dirrm share/peercast/html/de/images +@dirrm share/peercast/html/de +@dirrm share/peercast/html/en/images +@dirrm share/peercast/html/en +@dirrm share/peercast/html/fr/images +@dirrm share/peercast/html/fr +@dirrm share/peercast/html/ja/images +@dirrm share/peercast/html/ja +@dirrm share/peercast/html +@dirrm share/peercast diff --git a/net/Makefile b/net/Makefile index 7ecad22..9574412 100644 --- a/net/Makefile +++ b/net/Makefile @@ -540,6 +540,7 @@ SUBDIR += pear-SOAP SUBDIR += pebrot SUBDIR += pecl-yaz + SUBDIR += peercast SUBDIR += pen SUBDIR += perldap SUBDIR += pfflowd diff --git a/net/peercast/Makefile b/net/peercast/Makefile new file mode 100644 index 0000000..fbaca24 --- /dev/null +++ b/net/peercast/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: peercast +# Date created: 21 Dec 2004 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= peercast +PORTVERSION= 0.1211 +CATEGORIES= net multimedia +MASTER_SITES= http://www.peercast.org/ +DISTNAME= peercast-linux +EXTRACT_SUFX= .tgz + +MAINTAINER= jylefort@brutele.be +COMMENT= A peer-to-peer network for broadcasting and listening to streams + +USE_LINUX= yes +NO_WRKSUBDIR= yes + +do-build: + ${SED} -e 's|@PREFIX@|${PREFIX}|g; s|@DATADIR@|${DATADIR}|g' \ + ${FILESDIR}/peercast.in > ${WRKSRC}/peercast.sh + +do-install: + ${MKDIR} ${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/peercast ${PREFIX}/libexec + # rebrand binary (INSTALL_PROGRAM has stripped it) + ${BRANDELF} -t Linux ${PREFIX}/libexec/peercast +.for lang in de en fr ja + ${MKDIR} ${DATADIR}/html/${lang} + ${INSTALL_DATA} ${WRKSRC}/html/${lang}/*.* ${DATADIR}/html/${lang} + ${MKDIR} ${DATADIR}/html/${lang}/images + ${INSTALL_DATA} ${WRKSRC}/html/${lang}/images/*.* ${DATADIR}/html/${lang}/images +.endfor + ${MKDIR} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/peercast.sh ${PREFIX}/bin/peercast + +.include <bsd.port.mk> diff --git a/net/peercast/distinfo b/net/peercast/distinfo new file mode 100644 index 0000000..ce5fb96 --- /dev/null +++ b/net/peercast/distinfo @@ -0,0 +1,2 @@ +MD5 (peercast-linux.tgz) = 896a4201a2a2e90e06779654919e1cd4 +SIZE (peercast-linux.tgz) = 198726 diff --git a/net/peercast/files/peercast.in b/net/peercast/files/peercast.in new file mode 100644 index 0000000..b0ec099 --- /dev/null +++ b/net/peercast/files/peercast.in @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ ! -d "$HOME/.peercast" ]; then + mkdir "$HOME/.peercast" || exit 1 + ln -s "@DATADIR@/html" "@PREFIX@/libexec/peercast" "$HOME/.peercast" || exit 1 +fi + +cd "$HOME/.peercast" || exit 1 +exec ./peercast "$@" diff --git a/net/peercast/pkg-descr b/net/peercast/pkg-descr new file mode 100644 index 0000000..a5f3266 --- /dev/null +++ b/net/peercast/pkg-descr @@ -0,0 +1,9 @@ +PeerCast is a new, free way to listen to radio and watch video on the +Internet. It uses P2P technology to let anyone become a broadcaster +without the costs of traditional streaming. This means you get to hear +and watch stations not normally found on commercially funded sites. + +WWW: http://www.peercast.org/ + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/net/peercast/pkg-plist b/net/peercast/pkg-plist new file mode 100644 index 0000000..d518150 --- /dev/null +++ b/net/peercast/pkg-plist @@ -0,0 +1,64 @@ +bin/peercast +libexec/peercast +share/peercast/html/de/broadcast.html +share/peercast/html/de/chaninfo.html +share/peercast/html/de/connections.html +share/peercast/html/de/images/play.png +share/peercast/html/de/images/small-logo.png +share/peercast/html/de/index.html +share/peercast/html/de/login.html +share/peercast/html/de/logout.html +share/peercast/html/de/peercast.css +share/peercast/html/de/relayinfo.html +share/peercast/html/de/relays.html +share/peercast/html/de/settings.html +share/peercast/html/de/viewlog.html +share/peercast/html/en/broadcast.html +share/peercast/html/en/chaninfo.html +share/peercast/html/en/connections.html +share/peercast/html/en/images/play.png +share/peercast/html/en/images/small-logo.png +share/peercast/html/en/index.html +share/peercast/html/en/login.html +share/peercast/html/en/logout.html +share/peercast/html/en/peercast.css +share/peercast/html/en/relayinfo.html +share/peercast/html/en/relays.html +share/peercast/html/en/settings.html +share/peercast/html/en/viewlog.html +share/peercast/html/fr/broadcast.html +share/peercast/html/fr/chaninfo.html +share/peercast/html/fr/connections.html +share/peercast/html/fr/images/play.png +share/peercast/html/fr/images/small-logo.png +share/peercast/html/fr/index.html +share/peercast/html/fr/login.html +share/peercast/html/fr/logout.html +share/peercast/html/fr/peercast.css +share/peercast/html/fr/relayinfo.html +share/peercast/html/fr/relays.html +share/peercast/html/fr/settings.html +share/peercast/html/fr/viewlog.html +share/peercast/html/ja/broadcast.html +share/peercast/html/ja/chaninfo.html +share/peercast/html/ja/connections.html +share/peercast/html/ja/images/play.png +share/peercast/html/ja/images/small-logo.png +share/peercast/html/ja/index.html +share/peercast/html/ja/login.html +share/peercast/html/ja/logout.html +share/peercast/html/ja/peercast.css +share/peercast/html/ja/relayinfo.html +share/peercast/html/ja/relays.html +share/peercast/html/ja/settings.html +share/peercast/html/ja/viewlog.html +@dirrm share/peercast/html/de/images +@dirrm share/peercast/html/de +@dirrm share/peercast/html/en/images +@dirrm share/peercast/html/en +@dirrm share/peercast/html/fr/images +@dirrm share/peercast/html/fr +@dirrm share/peercast/html/ja/images +@dirrm share/peercast/html/ja +@dirrm share/peercast/html +@dirrm share/peercast |