aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/peercast/Makefile
blob: 64e0e931290a288d4b73cfd8576caf23f6c48531 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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>
tgraph'>* Update to version 3.3.0Kirill Ponomarev2005-04-0510-115/+19 * BROKEN on sparc64: Does not buildKris Kennaway2005-03-271-0/+4 * - add USE_GCC=3.3 when default gcc is 3.4Yen-Ming Lee2004-11-031-1/+1 * BROKEN on 5.x: Does not compile with gcc 3.4.2Kris Kennaway2004-08-161-1/+7 * take care of $PREFIX/libdata/pkgconfigOliver Lehmann2004-08-151-0/+1 * Fix build on AMD64Tilman Keskinoz2004-03-294-9/+34 * BROKEN on !i386: Does not compileKris Kennaway2004-02-231-1/+7 * SIZEify.Trevor Johnson2004-01-291-0/+1 * fix build on -stableYing-Chieh Liao2004-01-298-0/+87