aboutsummaryrefslogtreecommitdiffstats
path: root/audio/extace/Makefile
blob: d872b0a500dc92ea0d322864d0a76e8857c1a0c3 (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.3.2
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= eXtace

MAINTAINER= sobomax@FreeBSD.org

LIB_DEPENDS=    fftw.2:${PORTSDIR}/math/fftw

USE_X_PREFIX=   yes
USE_IMLIB=  yes
USE_ESOUND= yes
WANT_GNOME= yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LIBFFTW" \
        LIBS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if defined(HAVE_GNOME)
USE_GNOME=  yes
.endif

pre-patch:
    @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
        's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g'

.include <bsd.port.post.mk>