summaryrefslogtreecommitdiff
path: root/net/peercast/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-12-22 01:53:10 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-12-22 01:53:10 +0000
commit9bff2a45d31f726f0721ab7f8d102a110d3ec0f0 (patch)
tree341151ccecf23844b73d12fbb964042b7cce7425 /net/peercast/Makefile
parentNew Port x11-fonts/artwiz-aleczapka-de (diff)
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>
Notes
Notes: svn path=/head/; revision=124770
Diffstat (limited to 'net/peercast/Makefile')
-rw-r--r--net/peercast/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/net/peercast/Makefile b/net/peercast/Makefile
new file mode 100644
index 000000000000..fbaca24ccbf2
--- /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>