aboutsummaryrefslogtreecommitdiff
path: root/audio/bristol/Makefile
blob: b6f101bd394d30945de5a5aaa81ba11dfa1f90cc (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
31
32
33
34
35
36
37
38
39
# Created by: pjm <pierrejacqes.mimifir@gmail.com>

PORTNAME=	bristol
PORTVERSION=	0.60.10
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.60

MAINTAINER=	pierrejacques.mimifir@gmail.com
COMMENT=	Vintage synthesizers emulation for electric pianos and organs

LICENSE=	GPLv2

LIB_DEPENDS=	libjack.so:audio/jack \
		libfluidsynth.so:audio/fluidsynth

USES=		cpe libtool
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
CPE_VENDOR=	nick_copeland

CONFIGURE_ARGS+=	--disable-alsa --enable-oss \
			--enable-jack-default-audio \
			--enable-jack-default-midi \
			--disable-version-check

# Fix build on recent current (would require a handful of patches)
CFLAGS+=		-fcommon

PORTDATA=	*

post-patch:
	@${REINPLACE_CMD} -e 's|-march=core2 -msse -msse2 -mfpmath=sse||; s|-O3||' \
		${WRKSRC}/libbristol/Makefile.in
	@${REINPLACE_CMD} -e 's|-msse -mfpmath=sse||; s|-O2||' \
		${WRKSRC}/bristol/Makefile.in

.include <bsd.port.mk>