aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sweep/Makefile
blob: c33d33f4b6e39ab3c55f9fa36eb2504b3865c8ef (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
39
40
41
42
43
44
# New ports collection makefile for:    sweep
# Date created:             25 September 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   sweep
PORTVERSION=    0.8.0
CATEGORIES= audio gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= sobomax@FreeBSD.org

LIB_DEPENDS=    sndfile.1:${PORTSDIR}/audio/libsndfile \
        samplerate.0:${PORTSDIR}/audio/libsamplerate \
        vorbis.2:${PORTSDIR}/audio/libvorbis \
        speex.0:${PORTSDIR}/audio/speex \
        mad.1:${PORTSDIR}/audio/mad \
        tdb.1:${PORTSDIR}/databases/tdb

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
USE_REINPLACE=  yes
USE_GNOMENG=    yes
USE_GNOME=  gnomeprefix gnomehier gnomehack gtk12
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
        --with-extraincdir=${LOCALBASE}/include \
        --with-vorbis=${LOCALBASE}/lib \
        --with-vorbis=${LOCALBASE}/include/vorbis \
        --with-ogg=${LOCALBASE}/lib \
        --with-ogg=${LOCALBASE}/include/ogg

MAN1=       sweep.1

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

.include <bsd.port.mk>