freebsd-ports/audio/fluidsynth/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

46 lines
1.1 KiB
Makefile

# ports collection makefile for: fluidsynth
# Date created: 27 Nov 2003
# Whom: Juha Nygard <juha.nygard1@netikka.fi>
#
# $FreeBSD$
#
PORTNAME= fluidsynth
PORTVERSION= 1.0.6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= fluid
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications
USE_GNOME= gnomehack gnometarget pkgconfig
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
MAN1= fluidsynth.1
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.if defined(WITH_JACK)
LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
.else
CONFIGURE_ARGS+= --disable-jack-support
.endif
.if defined(WITH_LADSPA)
BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
RUN_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
CONFIGURE_ARGS+= --enable-ladspa
.endif
post-patch:
@${REINPLACE_CMD} -e 's| -O2| |g ; \
s|== "yes"|= "yes"|g' ${WRKSRC}/configure
.include <bsd.port.mk>