aboutsummaryrefslogtreecommitdiffstats
path: root/audio/squeezeboxserver
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2008-06-17 13:14:49 +0800
committerbrooks <brooks@FreeBSD.org>2008-06-17 13:14:49 +0800
commit94ccb22bf8cb918af8144b7d4597987dca165553 (patch)
tree05b970aac56b4cb40b4fb37aa78a74402c6c87ac /audio/squeezeboxserver
parentf5a9cd55d7a0930338737ca8f7a183e5a15c03cc (diff)
downloadfreebsd-ports-gnome-94ccb22bf8cb918af8144b7d4597987dca165553.tar.gz
freebsd-ports-gnome-94ccb22bf8cb918af8144b7d4597987dca165553.tar.zst
freebsd-ports-gnome-94ccb22bf8cb918af8144b7d4597987dca165553.zip
Actually update to 7.0.1 including referencing the right distfile.
In 7.0.1, squeezecenter supports new and old versions of JSON::XS. Keep the custom module that handles this so things work correctly. Pointy hat to: brooks
Diffstat (limited to 'audio/squeezeboxserver')
-rw-r--r--audio/squeezeboxserver/Makefile27
-rw-r--r--audio/squeezeboxserver/distinfo6
2 files changed, 8 insertions, 25 deletions
diff --git a/audio/squeezeboxserver/Makefile b/audio/squeezeboxserver/Makefile
index 953baccfded2..fb73018d22ab 100644
--- a/audio/squeezeboxserver/Makefile
+++ b/audio/squeezeboxserver/Makefile
@@ -7,10 +7,10 @@
PORTNAME= squeezecenter
PORTVERSION= 7.0.1
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.slimdevices.com/downloads/SqueezeCenter_v${PORTVERSION}/
-DISTNAME= ${PORTNAME}-7.0-noCPAN
-DIST_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-noCPAN
EXTRACT_SUFX= .tgz
MAINTAINER= brooks@FreeBSD.org
@@ -29,7 +29,7 @@ OPTIONS= CLASSIC "Default to the Classic skin" off \
RESTRICTED= Contains non-redistributable firmware, documentation, and images
-WRKSRC= ${WRKDIR}/squeezecenter-7.0-17793-noCPAN
+WRKSRC= ${WRKDIR}/squeezecenter-${PORTVERSION}-noCPAN
BUILD_DEPENDS+= ${SITE_PERL}/File/Which.pm:${PORTSDIR}/sysutils/p5-File-Which
RUN_DEPENDS+= ${LOCALBASE}/bin/mDNSResponderPosix:${PORTSDIR}/net/mDNSResponder \
@@ -93,6 +93,8 @@ CONFFILES= convert.conf types.conf
EXCEPTFILES= ${DOCFILES} \
${CONFFILES} \
CPAN/GD.pm \
+ CPAN/JSON/XS/Boolean.pm \
+ CPAN/JSON/XS.pm \
CPAN/Template.pm \
CPAN/XML/Parser.pm \
MySQL/errmsg.txt \
@@ -100,7 +102,6 @@ EXCEPTFILES= ${DOCFILES} \
EXCEPTDIRS= Bin \
CPAN/arch \
CPAN/Compress \
- CPAN/JSON \
CPAN/GD \
CPAN/Template \
CPAN/XML/Parser \
@@ -117,20 +118,6 @@ SUB_LIST= PERL=${PERL} \
SLIMGROUP=${SLIMGROUP} \
CONFFILES="${CONFFILES}"
-JSON_FIXUP_FILES= Slim/Control/Queries.pm \
- Slim/Networking/SqueezeNetwork.pm \
- Slim/Networking/SqueezeNetwork/Stats.pm \
- Slim/Networking/SqueezeNetwork/PrefSync.pm \
- Slim/Networking/SqueezeNetwork/Players.pm \
- Slim/Plugin/AudioScrobbler/Plugin.pm \
- Slim/Plugin/Live365/ProtocolHandler.pm \
- Slim/Plugin/Pandora/ProtocolHandler.pm \
- Slim/Plugin/RPC/Plugin.pm \
- Slim/Plugin/RhapsodyDirect/ProtocolHandler.pm \
- Slim/Plugin/Slacker/ProtocolHandler.pm \
- Slim/Web/Cometd.pm \
- Slim/Web/JSONRPC.pm \
-
pre-fetch:
.if !defined(SLIMDIR)
@${ECHO_MSG} ""
@@ -158,10 +145,6 @@ post-patch:
${WRKSRC}/Slim/Web/HTTP.pm \
${WRKSRC}/scanner.pl \
${WRKSRC}/slimserver.pl
- cd ${WRKSRC} && ${REINPLACE_CMD} \
- -e 's/to_json/encode_json/' \
- -e 's/from_json/decode_json/' \
- ${JSON_FIXUP_FILES}
do-build:
@${MKDIR} -m 0755 ${TMP_SLIMDIR}
diff --git a/audio/squeezeboxserver/distinfo b/audio/squeezeboxserver/distinfo
index dcd8ee6279ce..70b4a4102e50 100644
--- a/audio/squeezeboxserver/distinfo
+++ b/audio/squeezeboxserver/distinfo
@@ -1,3 +1,3 @@
-MD5 (squeezecenter/squeezecenter-7.0-noCPAN.tgz) = 55925e50fd016c999a812e522fdcc931
-SHA256 (squeezecenter/squeezecenter-7.0-noCPAN.tgz) = 78bbb0c0e296b1d19dee1f5c9d88f996f7cd43808f8798f2baded6dd2c334df7
-SIZE (squeezecenter/squeezecenter-7.0-noCPAN.tgz) = 18464419
+MD5 (squeezecenter-7.0.1-noCPAN.tgz) = e0332a2710231e11b8f1d57445acdb45
+SHA256 (squeezecenter-7.0.1-noCPAN.tgz) = c4e81549a7e3b46930d9db6ddd95a1bd3e96bd2c5b661352698382802360e798
+SIZE (squeezecenter-7.0.1-noCPAN.tgz) = 18552404