1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net-p2p/peercast/Makefile
Jean-Yves Lefort 7c10e30e3a Change my MAINTAINER email address to jylefort@FreeBSD.org
Approved by:	adamw (mentor)
2005-04-12 22:10:43 +00:00

40 lines
1.1 KiB
Makefile

# 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@FreeBSD.org
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>