# New ports collection makefile for: sweep # Date created: 25 September 2000 # Whom: Maxim Sobolev # # $FreeBSD$ # PORTNAME= sweep PORTVERSION= 0.8.2 PORTREVISION= 1 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.1:${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