summaryrefslogtreecommitdiff
path: root/audio/beast/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/beast/Makefile')
-rw-r--r--audio/beast/Makefile67
1 files changed, 30 insertions, 37 deletions
diff --git a/audio/beast/Makefile b/audio/beast/Makefile
index af83adaf1671..c0b8f2bd0db1 100644
--- a/audio/beast/Makefile
+++ b/audio/beast/Makefile
@@ -5,35 +5,33 @@
# $FreeBSD$
#
-PORTNAME= beast
-PORTVERSION= 0.6.4
-PORTREVISION= 2
-CATEGORIES= audio
-MASTER_SITES= ftp://beast.gtk.org/pub/beast/v0.6/ \
- http://beast.gtk.org/beast-ftp/v0.6/
-
-MAINTAINER= jylefort@FreeBSD.org
-COMMENT= A powerful music composition and modular synthesis application
-
-LIB_DEPENDS= vorbisfile:${PORTSDIR}/audio/libvorbis \
- mad:${PORTSDIR}/audio/libmad \
- guile:${PORTSDIR}/lang/guile
-
-USE_X_PREFIX= yes
-USE_GMAKE= yes
-USE_GCC= 3.4
-USE_REINPLACE= yes
-USE_GNOME= gnomehack gnomeprefix intlhack libgnomecanvas
-USE_INC_LIBTOOL_VER= 15
-INSTALLS_SHLIB= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS= --disable-debug \
- --enable-osspcm=/dev/dsp \
- --enable-ossmidi=/dev/midi
-
-MAN1= beast.1 bsesh.1 sfidl.1
-MAN3= beast-gxk.3 bse-procs.3 bse-structs.3 bse.3 sfi.3
+PORTNAME= beast
+PORTVERSION= 0.6.6
+CATEGORIES= audio
+MASTER_SITES= ftp://beast.gtk.org/pub/beast/v0.6/ \
+ http://beast.gtk.org/beast-ftp/v0.6/
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= A powerful music composition and modular synthesis application
+
+LIB_DEPENDS= vorbisfile:${PORTSDIR}/audio/libvorbis \
+ mad:${PORTSDIR}/audio/libmad \
+ guile:${PORTSDIR}/lang/guile
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_GNOME= gnomehack gnomeprefix intlhack libgnomecanvas
+USE_LIBTOOL_VER= 15
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DENODATA=255" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-debug \
+ --enable-osspcm=/dev/dsp \
+ --enable-ossmidi=/dev/midi
+
+MAN1= beast.1 bsesh.1 sfidl.1
+MAN3= beast-gxk.3 bse-procs.3 bse-structs.3 bse.3 sfi.3
.include <bsd.port.pre.mk>
@@ -41,15 +39,10 @@ MAN3= beast-gxk.3 bse-procs.3 bse-structs.3 bse.3 sfi.3
IGNORE= does not compile on FreeBSD 4.x, missing library function isfinite
.endif
-.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
-BROKEN= "Does not compile on sparc64 or ia64"
-.endif
-
post-patch:
- @${REINPLACE_CMD} -E \
- -e 's|(bseladspapath=)\$${libdir}/ladspa|\1"${LOCALBASE}/lib/ladspa"|' \
- -e 's/(FLAGS) (-g.*|-pipe|-O2|-f.*)"/\1"/g' \
- ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -Ee 's|$${libdir}/ladspa|${LOCALBASE}/lib/ladspa|; \
+ /FLAGS=/ s/(-g|-ggdb3|-pipe|-O2|-ftracer|-finline-functions|-fno-keep-static-consts)//' \
+ ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/bse/Makefile.in \
${WRKSRC}/bse/zintern/Makefile.in