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

PORTNAME=   extace
PORTVERSION=    1.7.8
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=    fftw.2:${PORTSDIR}/math/fftw

USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix gtk12 imlib esound
USE_REINPLACE=  yes
USE_LIBTOOL=    yes
CONFIGURE_ARGS+=    --disable-alsa
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LIBFFTW" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g"  \
        -e "s|DATADIRNAME=lib|DATADIRNAME=share|g"  ${WRKSRC}/configure

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/extace ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/src/extace.desktop \
        ${PREFIX}/share/gnome/apps/Multimedia

.include <bsd.port.mk>