freebsd-ports/audio/sweep/Makefile
Tobias Kortkamp 07389cd463
*: Sweep up new CONFLICTS_INSTALL mess
- Fix typos
- Fix overwritten master/slave variables

I'm assuming the entries are correct otherwise.

Reported by:	portscan
2022-01-17 14:20:24 +01:00

42 lines
1.2 KiB
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
PORTNAME= sweep
PORTVERSION= 0.9.3
PORTREVISION= 12
PORTEPOCH= 1
CATEGORIES= audio gnome
MASTER_SITES= SF
MAINTAINER= portmaster@BSDforge.com
COMMENT= Sound editor for the GNOME/GTK+2 desktop
LICENSE= GPLv2
LIB_DEPENDS= libmad.so:audio/libmad \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile \
libvorbis.so:audio/libvorbis \
libspeex.so:audio/speex
USES= desktop-file-utils gettext gmake gnome libtool pathfix \
pkgconfig tar:bzip2
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`"
CONFLICTS_INSTALL= libsweep-lidar # include/sweep/sweep.h
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>