aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2016-07-02 21:17:56 +0800
committerdanfe <danfe@FreeBSD.org>2016-07-02 21:17:56 +0800
commit77dc8d354a74bdfc7ee55fcf1b95961698a325b2 (patch)
treea23ce295f0e5de5e89c845356ebdef42b2a7fb09 /games
parentb039347cea641a548b6b89ca92a5b3dd3732dc35 (diff)
downloadfreebsd-ports-gnome-77dc8d354a74bdfc7ee55fcf1b95961698a325b2.tar.gz
freebsd-ports-gnome-77dc8d354a74bdfc7ee55fcf1b95961698a325b2.tar.zst
freebsd-ports-gnome-77dc8d354a74bdfc7ee55fcf1b95961698a325b2.zip
- 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
Diffstat (limited to 'games')
-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