1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/audio/beast/Makefile
Joe Marcus Clarke 9e5632dd66 Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
2004-07-09 17:43:11 +00:00

47 lines
1.3 KiB
Makefile

# New ports collection makefile for: BEAST
# Date created: 23 Jun 2004
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= beast
PORTVERSION= 0.6.1
CATEGORIES= audio
MASTER_SITES= ftp://beast.gtk.org/pub/beast/v0.6/ \
http://beast.gtk.org/beast-ftp/v0.6/
MAINTAINER= jylefort@brutele.be
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.3
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
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} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/bse/Makefile.in \
${WRKSRC}/bse/zintern/Makefile.in
.include <bsd.port.mk>