aboutsummaryrefslogtreecommitdiffstats
path: root/audio/fluidsynth/Makefile
blob: 7bac753c22ae28188fe6ba6f6fa653eb04ada722 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ports collection makefile for:   fluidsynth
# Date created:        27 Nov 2003
# Whom:                Juha Nygard <juha.nygard1@netikka.fi>
#
# $FreeBSD$
#

PORTNAME=   fluidsynth
PORTVERSION=    1.0.3
CATEGORIES= audio
MASTER_SITES=   http://resonance.org/~josh/fluidsynth/

MAINTAINER= juha.nygard1@netikka.fi
COMMENT=    Real-time software synthesizer based on the SoundFont 2 specifications

INSTALLS_SHLIB= yes
USE_GMAKE=  yes
USE_GNOME=  pkgconfig
USE_GETOPT_LONG=    yes
USE_LIBTOOL=    yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"

MAN1=       fluidsynth.1

post-patch:
    @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>