blob: c96cd74978268a9a7a83c918ee0b2fb17ef3cef1 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# New ports collection makefile for: xmms-eq
# Date created: 13 Jun 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= eq
PORTVERSION= 0.7
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= equ
PKGNAMEPREFIX= xmms-
DISTNAME= ${PORTNAME}-xmms-${PORTVERSION}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= A realtime graphical equalizer plugin for XMMS
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
PLIST_FILES= lib/xmms/Effect/libeq.la \
lib/xmms/Effect/libeq.so
OPTIONS= BENCHMARK "Enable counting the cycles used by the IIR" off \
EXT_INS "Use MMX/SSE/SSE2 instructions if available" on \
OPTIMIZED_CFLAGS "Enable compilation optimizations" on
.include <bsd.port.pre.mk>
.if defined(WITH_BENCHMARK)
CONFIGURE_ARGS+= --enable-benchmark
.endif
.if defined(WITHOUT_EXT_INS) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --disable-autodetect
.endif
.if defined(WITHOUT_OPTIMIZED_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
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>
|