aboutsummaryrefslogtreecommitdiff
path: root/games/slade
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2016-07-02 13:17:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2016-07-02 13:17:56 +0000
commitc6a42ba6e6ccbbb9cace52f6a2215574729d9b2d (patch)
treea23ce295f0e5de5e89c845356ebdef42b2a7fb09 /games/slade
parent8bb5bde8169669f08c74a218ff717e38a94c4b9b (diff)
downloadports-c6a42ba6e6ccbbb9cace52f6a2215574729d9b2d.tar.gz
ports-c6a42ba6e6ccbbb9cace52f6a2215574729d9b2d.zip
Notes
Diffstat (limited to 'games/slade')
-rw-r--r--games/slade/Makefile14
-rw-r--r--games/slade/distinfo4
2 files changed, 7 insertions, 11 deletions
diff --git a/games/slade/Makefile b/games/slade/Makefile
index 9c41cfe3986d..595906be490c 100644
--- a/games/slade/Makefile
+++ b/games/slade/Makefile
@@ -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>
diff --git a/games/slade/distinfo b/games/slade/distinfo
index f78dea436ced..821a053f64da 100644
--- a/games/slade/distinfo
+++ b/games/slade/distinfo
@@ -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