2000-09-25 09:46:16 +00:00
|
|
|
# New ports collection makefile for: sweep
|
|
|
|
# Date created: 25 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sweep
|
2003-02-03 13:26:32 +00:00
|
|
|
PORTVERSION= 0.8.0
|
2000-09-25 09:46:16 +00:00
|
|
|
CATEGORIES= audio gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
2003-02-03 13:26:32 +00:00
|
|
|
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
|
|
|
|
|
2000-09-25 09:46:16 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2003-02-03 13:26:32 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehier gnomehack gtk12
|
2000-10-23 07:29:48 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-09-25 09:46:16 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2003-02-03 13:26:32 +00:00
|
|
|
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
|
2000-09-25 09:46:16 +00:00
|
|
|
|
|
|
|
MAN1= sweep.1
|
|
|
|
|
2003-02-03 13:26:32 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-09-25 09:46:16 +00:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|