aboutsummaryrefslogblamecommitdiff
path: root/audio/beast/Makefile
blob: 3699113e062840b0cf7583fc3cc8d608f216005e (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                      
                     
                     
                 
                     

                                                     
 
                                





                                                                              
                   
                   




                                                 





                                                                 

                                        
 
           
                                                                              

                                                                                                         
                                   



                                                            






                                           
# New ports collection makefile for:	BEAST
# Date created:			23 Jun 2004
# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=	beast
PORTVERSION=	0.7.1
PORTREVISION=	5
CATEGORIES=	audio
MASTER_SITES=	ftp://beast.gtk.org/pub/beast/v0.7/ \
		http://beast.gtk.org/beast-ftp/v0.7/

MAINTAINER=	gahr@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_XORG=	x11
USE_GMAKE=	yes
USE_GNOME=	gnomehack intlhack libgnomecanvas
USE_BZIP2=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
USE_GETTEXT=	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 bsescm.1 sfidl.1
MAN5=		bse.5

post-patch:
	@${REINPLACE_CMD} -Ee 's|$${libdir}/ladspa|${LOCALBASE}/lib/ladspa|; \
		/FLAGS=/ s/(-g|-ggdb3|-pipe|-O2|-ftracer|-finline-functions|-fno-keep-static-consts)//; \
		s|echo aout|echo elf|g' \
		${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
		${WRKSRC}/bse/Makefile.in \
		${WRKSRC}/bse/zintern/Makefile.in

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64
.endif

.include <bsd.port.post.mk>