summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--audio/muse/Makefile11
-rw-r--r--audio/muse/distinfo2
-rw-r--r--audio/muse/files/patch-shout::mp3.c10
3 files changed, 16 insertions, 7 deletions
diff --git a/audio/muse/Makefile b/audio/muse/Makefile
index d78a9fdf2031..7c0a5b3ac5d4 100644
--- a/audio/muse/Makefile
+++ b/audio/muse/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= muse
-PORTVERSION= 0.7.2
+PORTVERSION= 0.8.1
CATEGORIES= audio
MASTER_SITES= http://savannah.nongnu.org/download/muse/ \
http://muse.dyne.org/releases/
@@ -19,6 +19,7 @@ COMMENT= Multiple Streaming Engine
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
vorbis.2:${PORTSDIR}/audio/libvorbis
+USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GNOME= gtk12
USE_GMAKE= yes
@@ -27,14 +28,11 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug
+MAN1= muse.1
+
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS= -L${LOCALBASE}/lib
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-LDFLAGS+= -lgnugetopt
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=.*$$|CFLAGS="\$$CFLAGS"|g ; \
s|[$$]GTK_LIBS -lgthread|\$$GTK_LIBS \$$GLIB_LIBS|g ; \
@@ -44,6 +42,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/muse ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/muse.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog KNOWN-BUGS NEWS README TODO USAGE
diff --git a/audio/muse/distinfo b/audio/muse/distinfo
index 7929ba1b310a..6b5f9f765f19 100644
--- a/audio/muse/distinfo
+++ b/audio/muse/distinfo
@@ -1 +1 @@
-MD5 (MuSE-0.7.2.tar.gz) = dbeaf1f338fa004638ba1d719006a3ed
+MD5 (MuSE-0.8.1.tar.gz) = 1ca2c62aa2db10f92ee5a864da736e34
diff --git a/audio/muse/files/patch-shout::mp3.c b/audio/muse/files/patch-shout::mp3.c
new file mode 100644
index 000000000000..8570a8224d54
--- /dev/null
+++ b/audio/muse/files/patch-shout::mp3.c
@@ -0,0 +1,10 @@
+--- shout/mp3.c.orig Tue Mar 25 05:30:10 2003
++++ shout/mp3.c Thu Apr 24 02:44:09 2003
+@@ -1,7 +1,6 @@
+ /* mp3.c: libshout MP3 format handler */
+
+ #include <stdio.h>
+-#include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <config.h>