blob: 4021c9c576c2f93f453dc6933068185dc4a1353e (
plain)
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
40
41
42
43
44
45
46
47
48
49
|
# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= eq
PORTVERSION= 0.7
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}u/${PORTNAME}-xmms-src/${PORTVERSION}
PKGNAMEPREFIX= xmms-
DISTNAME= ${PORTNAME}-xmms-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time graphical equalizer plugin for XMMS
LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms
USE_BZIP2= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
PLIST_FILES= lib/xmms/Effect/libeq.la \
lib/xmms/Effect/libeq.so
OPTIONS_DEFINE= BENCHMARK EXT_INS OPTIMIZED_CFLAGS
OPTIONS_DEFAULT= EXT_INS OPTIMIZED_CFLAGS
BENCHMARK_DESC= Enable counting the cycles used by the IIR
EXT_INS_DESC= Use MMX/SSE/SSE2 instructions if available
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBENCHMARK}
CONFIGURE_ARGS+= --enable-benchmark
.endif
.if empty(PORT_OPTIONS:MEXT_INS) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --disable-autodetect
.endif
.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS)
post-patch:
@${REINPLACE_CMD} -e 's|-O3||g; \
s|-fomit-frame-pointer||g; \
s|-finline-functions||g; \
s|-ffast-math||g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.endif
.include <bsd.port.mk>
|