diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-06-03 21:21:42 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-06-03 21:21:42 +0800 |
commit | d7ceadf1b92842c60d35ee06d32412db3a9b7127 (patch) | |
tree | 93e1c7ae57ea9872b47b1b3b607cf4b935e7b00f /net-p2p/peercast | |
parent | 83944819815db7e4aa4b91ffe924b0d64a443e70 (diff) | |
download | freebsd-ports-gnome-d7ceadf1b92842c60d35ee06d32412db3a9b7127.tar.gz freebsd-ports-gnome-d7ceadf1b92842c60d35ee06d32412db3a9b7127.tar.zst freebsd-ports-gnome-d7ceadf1b92842c60d35ee06d32412db3a9b7127.zip |
- Update to 0.1212 [1]
- Cleanup the port
PR: ports/81835 [1]
Submitted by: HAYASHI Yasushi <yasi@yasi.to> [1]
Diffstat (limited to 'net-p2p/peercast')
-rw-r--r-- | net-p2p/peercast/Makefile | 16 | ||||
-rw-r--r-- | net-p2p/peercast/distinfo | 4 | ||||
-rw-r--r-- | net-p2p/peercast/files/peercast.sh.in (renamed from net-p2p/peercast/files/peercast.in) | 2 |
3 files changed, 9 insertions, 13 deletions
diff --git a/net-p2p/peercast/Makefile b/net-p2p/peercast/Makefile index 75acac22ab33..2886103c43d5 100644 --- a/net-p2p/peercast/Makefile +++ b/net-p2p/peercast/Makefile @@ -6,7 +6,7 @@ # PORTNAME= peercast -PORTVERSION= 0.1211 +PORTVERSION= 0.1212 CATEGORIES= net multimedia MASTER_SITES= http://www.peercast.org/ DISTNAME= peercast-linux @@ -15,25 +15,21 @@ EXTRACT_SUFX= .tgz MAINTAINER= jylefort@FreeBSD.org COMMENT= A peer-to-peer network for broadcasting and listening to streams -USE_LINUX?= yes +USE_LINUX= yes NO_WRKSUBDIR= yes +NO_BUILD= yes +STRIP= # empty: do not strip linux binaries -do-build: - ${SED} -e 's|@PREFIX@|${PREFIX}|g; s|@DATADIR@|${DATADIR}|g' \ - ${FILESDIR}/peercast.in > ${WRKSRC}/peercast.sh +SUB_FILES= peercast.sh do-install: - ${MKDIR} ${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKDIR}/peercast.sh ${PREFIX}/bin/peercast ${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 index ce5fb9648917..2de42ef6e234 100644 --- a/net-p2p/peercast/distinfo +++ b/net-p2p/peercast/distinfo @@ -1,2 +1,2 @@ -MD5 (peercast-linux.tgz) = 896a4201a2a2e90e06779654919e1cd4 -SIZE (peercast-linux.tgz) = 198726 +MD5 (peercast-linux.tgz) = 3ff5efb2710fe80ed9bc3e3290141ab9 +SIZE (peercast-linux.tgz) = 197079 diff --git a/net-p2p/peercast/files/peercast.in b/net-p2p/peercast/files/peercast.sh.in index b0ec0996b36b..f92d6e3557b0 100644 --- a/net-p2p/peercast/files/peercast.in +++ b/net-p2p/peercast/files/peercast.sh.in @@ -2,7 +2,7 @@ if [ ! -d "$HOME/.peercast" ]; then mkdir "$HOME/.peercast" || exit 1 - ln -s "@DATADIR@/html" "@PREFIX@/libexec/peercast" "$HOME/.peercast" || exit 1 + ln -s "%%DATADIR%%/html" "%%PREFIX%%/libexec/peercast" "$HOME/.peercast" || exit 1 fi cd "$HOME/.peercast" || exit 1 |