aboutsummaryrefslogtreecommitdiffstats
path: root/audio/extace/Makefile
blob: e59d0e03940c8d1bade79c34573a9f815d6ec492 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   extace
PORTVERSION=    1.9.9
PORTREVISION=   8
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME}/eXtace/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Audio visualization plugin for the X Window System

LIB_DEPENDS=    libfftw3.so:${PORTSDIR}/math/fftw3

USES=       libtool pathfix pkgconfig
USE_GNOME=  esound gnomehier gtk20
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib -lm

PLIST_FILES=    bin/extace \
        share/gnome/apps/Multimedia/extace.desktop

post-patch:
    @${REINPLACE_CMD} '/^CFLAGS="-O2/d' ${WRKSRC}/configure
    @${REINPLACE_CMD} '/^LIBS =/s/$$/ @LIBS@/' ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>