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

PORTNAME=   sweep
PORTVERSION=    0.9.3
PORTREVISION=   9
PORTEPOCH=  1
CATEGORIES= audio gnome
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Sound editor for the GNOME/GTK+2 desktop

LIB_DEPENDS=    libmad.so:${PORTSDIR}/audio/libmad \
        libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
        libsndfile.so:${PORTSDIR}/audio/libsndfile \
        libvorbis.so:${PORTSDIR}/audio/libvorbis \
        libspeex.so:${PORTSDIR}/audio/speex

USE_BZIP2=  yes
USES=       pathfix gettext pkgconfig gmake
USE_GNOME=  gtk20
USE_AUTOTOOLS=  libtool

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
        --with-extraincdir=${LOCALBASE}/include \
        --with-vorbis-libraries=${LOCALBASE}/lib \
        --with-vorbis-includes=${LOCALBASE}/include/vorbis \
        --with-ogg-libraries=${LOCALBASE}/lib \
        --with-ogg-includes=${LOCALBASE}/include/ogg

post-patch:
    @${REINPLACE_CMD} -e 's|^ac_enable_alsa=yes|ac_enable_alsa=no|g ; \
        s|$${datadir}|$${datarootdir}|g' ${WRKSRC}/configure

.include <bsd.port.mk>