From 6bacfafd46289c97428fc7ec0973bb0bcd2a2d38 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Sat, 21 Jun 2008 17:38:13 +0000 Subject: Fix the softsqueeze wrapper script. The path was wrong in general and more wrong when PREFIX was set to something other than /usr/local. Also, invoke the Java VM wrapper as java instead of javavm. Reported by: Tim Bishop (path issue) --- audio/squeezeboxserver/Makefile | 2 +- audio/squeezeboxserver/files/softsqueeze.sh.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/squeezeboxserver') diff --git a/audio/squeezeboxserver/Makefile b/audio/squeezeboxserver/Makefile index acd520a54a3b..e77ab376f6f4 100644 --- a/audio/squeezeboxserver/Makefile +++ b/audio/squeezeboxserver/Makefile @@ -7,7 +7,7 @@ PORTNAME= squeezecenter PORTVERSION= 7.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://www.slimdevices.com/downloads/SqueezeCenter_v${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-noCPAN diff --git a/audio/squeezeboxserver/files/softsqueeze.sh.in b/audio/squeezeboxserver/files/softsqueeze.sh.in index c33b7161cc82..c83c5564e0df 100644 --- a/audio/squeezeboxserver/files/softsqueeze.sh.in +++ b/audio/squeezeboxserver/files/softsqueeze.sh.in @@ -7,4 +7,4 @@ # will release the JDK under a license that makes dependencies on the # JDK reasionable. # -%%LOCALBASE%%/bin/javavm -jar /usr/local/slimserver/HTML/EN/html/softsqueeze/SoftSqueeze.jar +%%LOCALBASE%%/bin/java -jar %%PREFIX%%/%%SLIMDIR%%/HTML/EN/html/softsqueeze/SoftSqueeze.jar -- cgit v1.2.3