aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-13 16:55:51 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-13 16:55:51 +0000
commit31c9fcf7327a4faf7e0c2a77beaef9643cdd87a4 (patch)
tree62f4e3c02d7e6aaa90b653e5cac1bbc451ae9601
parent24df18c6d4cbee25142c8987f49e848d07233c19 (diff)
downloadports-31c9fcf7327a4faf7e0c2a77beaef9643cdd87a4.tar.gz
ports-31c9fcf7327a4faf7e0c2a77beaef9643cdd87a4.zip
- Add favicon.ico
- Bump PORTREVISION for package change PR: ports/161763 Submitted by: Takefu <takefu@airport.fm>
Notes
Notes: svn path=/head/; revision=327167
-rw-r--r--audio/icecast2/Makefile14
-rw-r--r--audio/icecast2/distinfo6
-rw-r--r--audio/icecast2/pkg-plist1
3 files changed, 15 insertions, 6 deletions
diff --git a/audio/icecast2/Makefile b/audio/icecast2/Makefile
index a8d95911378b..4dcfea5ead36 100644
--- a/audio/icecast2/Makefile
+++ b/audio/icecast2/Makefile
@@ -3,12 +3,17 @@
PORTNAME= icecast2
PORTVERSION= 2.3.3
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio net ipv6
-MASTER_SITES= http://downloads.xiph.org/releases/icecast/ \
- http://svn.xiph.org/releases/icecast/ \
- LOCAL/sunpoet
-DISTNAME= icecast-${PORTVERSION}
+MASTER_SITES= http://downloads.xiph.org/releases/icecast/:source \
+ http://svn.xiph.org/releases/icecast/:source \
+ LOCAL/sunpoet:source \
+ http://www.icecast.org/:icon
+DISTFILES= icecast-${PORTVERSION}${EXTRACT_SUFX}:source \
+ favicon.ico:icon
+DIST_SUBDIR= icecast
+EXTRACT_ONLY= icecast-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Streaming mp3/ogg-vorbis audio server
@@ -44,6 +49,7 @@ post-patch:
.endif
post-install:
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/favicon.ico ${DATADIR}/web/
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/audio/icecast2/distinfo b/audio/icecast2/distinfo
index 93fe2b418ce5..8582379ececb 100644
--- a/audio/icecast2/distinfo
+++ b/audio/icecast2/distinfo
@@ -1,2 +1,4 @@
-SHA256 (icecast-2.3.3.tar.gz) = 1b1d06f5f83c9a983cd28cc78aa90e4038f933511b3d20d7fd2cfc116645c36d
-SIZE (icecast-2.3.3.tar.gz) = 1161774
+SHA256 (icecast/icecast-2.3.3.tar.gz) = 1b1d06f5f83c9a983cd28cc78aa90e4038f933511b3d20d7fd2cfc116645c36d
+SIZE (icecast/icecast-2.3.3.tar.gz) = 1161774
+SHA256 (icecast/favicon.ico) = 6e22f7e26d2f97e9c1b7840458bcd29a81a6ad3433248506f56cdc305ec7487e
+SIZE (icecast/favicon.ico) = 1406
diff --git a/audio/icecast2/pkg-plist b/audio/icecast2/pkg-plist
index f12b82cf23a5..ff46720ba269 100644
--- a/audio/icecast2/pkg-plist
+++ b/audio/icecast2/pkg-plist
@@ -18,6 +18,7 @@ etc/icecast.xml.sample
%%DATADIR%%/web/corner_bottomright.jpg
%%DATADIR%%/web/corner_topleft.jpg
%%DATADIR%%/web/corner_topright.jpg
+%%DATADIR%%/web/favicon.ico
%%DATADIR%%/web/icecast.png
%%DATADIR%%/web/key.gif
%%DATADIR%%/web/key.png