aboutsummaryrefslogtreecommitdiffstats
path: root/audio/extace/Makefile
blob: 28883b98548945d1c725d974f860b424d5fcea8a (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
# New ports collection makefile for:    extace
# Date created:             8 April 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   extace
PORTVERSION=    1.9.4
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

LIB_DEPENDS=    fftw3.3:${PORTSDIR}/math/fftw3

USE_X_PREFIX=   yes
USE_GNOME=  esound imlib gnomehack gnometarget gnomeprefix
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

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

post-patch:
    @${REINPLACE_CMD} -e 's|-O2 |$$CFLAGS|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|^LIBS =|#LIBS =|g' ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>