1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/audio/sweep/Makefile
Christian Weisgerber 92ec3094e0 Chase shared lib version of speex.
PR:		53240
Submitted by:	David Yeske <dyeske@yahoo.com>
2003-06-12 12:27:06 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: sweep
# Date created: 25 September 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sweep
PORTVERSION= 0.8.2
PORTREVISION= 2
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ponomarew@oberon.net
COMMENT= A sound editor for the GNOME/GTK 1.2 desktop
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
samplerate.0:${PORTSDIR}/audio/libsamplerate \
vorbis.2:${PORTSDIR}/audio/libvorbis \
speex.2:${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_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>