Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2016 13:17:56 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417931 - head/games/slade
Message-ID:  <201607021317.u62DHu4J028317@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Jul  2 13:17:56 2016
New Revision: 417931
URL: https://svnweb.freebsd.org/changeset/ports/417931

Log:
  - Update SLADE to version 3.1.1.2
  - Depend on `audio/fluid-soundfont' if MIDI support is enabled, to ensure
    that music tracks are playable in editor
  - Remove hand-rolled installation routine, it's not needed since recently
  
  Reported by:	portscout

Modified:
  head/games/slade/Makefile
  head/games/slade/distinfo

Modified: head/games/slade/Makefile
==============================================================================
--- head/games/slade/Makefile	Sat Jul  2 12:44:36 2016	(r417930)
+++ head/games/slade/Makefile	Sat Jul  2 13:17:56 2016	(r417931)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	slade
-PORTVERSION=	3.1.1.1
+PORTVERSION=	3.1.1.2
 CATEGORIES=	games
 
 MAINTAINER=	danfe@FreeBSD.org
@@ -29,16 +29,12 @@ OPTIONS_DEFINE=	FLUIDSYNTH
 OPTIONS_DEFAULT=	FLUIDSYNTH
 
 FLUIDSYNTH_LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth
+FLUIDSYNTH_RUN_DEPENDS=	${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2:audio/fluid-soundfont
 FLUIDSYNTH_CMAKE_OFF=	-DNO_FLUIDSYNTH:BOOL=ON
 
 post-patch:
-	@${REINPLACE_CMD} -e 's,"alsa","oss",' \
-		${WRKSRC}/src/Audio/MIDIPlayer.cpp
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}3
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pk3 \
-		${STAGEDIR}${PREFIX}/share/${PORTNAME}3
+	@${REINPLACE_CMD} -e 's,"alsa","oss", ; \
+		/share\/sounds\/sf2/s,/usr,${LOCALBASE},g' \
+			${WRKSRC}/src/Audio/MIDIPlayer.cpp
 
 .include <bsd.port.mk>

Modified: head/games/slade/distinfo
==============================================================================
--- head/games/slade/distinfo	Sat Jul  2 12:44:36 2016	(r417930)
+++ head/games/slade/distinfo	Sat Jul  2 13:17:56 2016	(r417931)
@@ -1,2 +1,2 @@
-SHA256 (sirjuddington-SLADE-3.1.1.1_GH0.tar.gz) = c4a696b188ec29846c9aee8dd2fa71f36cad96643675ee5bfa4213f6ab49b0c2
-SIZE (sirjuddington-SLADE-3.1.1.1_GH0.tar.gz) = 4370315
+SHA256 (sirjuddington-SLADE-3.1.1.2_GH0.tar.gz) = 9f7a30163f0fa9d754000e2fada8b20ae07df160617fd8a1e898c261edd0e773
+SIZE (sirjuddington-SLADE-3.1.1.2_GH0.tar.gz) = 4373357



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607021317.u62DHu4J028317>