mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
74e0998c64
- Convert USE_BZIP2 to USES - Add USES=desktop-file-utils as suggested by check-sanity
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sweep
|
|
PORTVERSION= 0.9.3
|
|
PORTREVISION= 10
|
|
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
|
|
|
|
USES= pathfix gettext pkgconfig gmake tar:bzip2 libtool \
|
|
desktop-file-utils
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gtk20
|
|
|
|
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
|
|
CONFIGURE_ENV= LIBS="`pkg-config --libs gmodule-2.0`"
|
|
|
|
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>
|