openbsd-ports/audio/audacity/Makefile
steven c318a7e095 initial import of audacity-1.2.4
Audacity is a free audio editor. You can record sounds, play sounds,
import and export WAV, AIFF, Ogg Vorbis, and MP3 files, and more. Use it
to edit your sounds using Cut, Copy and Paste (with unlimited Undo), mix
tracks together, or apply effects to your recordings.

Initial port and many patches by jakemsr@. Thanks to maintainer
Antoine Jacoutot for persistence and keeping the port alive.

ok jakemsr@
2006-01-12 08:59:27 +00:00

66 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2006/01/12 08:59:27 steven Exp $
COMMENT= "free audio editor"
DISTNAME= audacity-src-1.2.4
PKGNAME= ${DISTNAME:S/-src//}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=audacity/}
HOMEPAGE= http://audacity.sourceforge.net/
MAINTAINER= Antoine Jacoutot <ajacoutot@lphp.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ossaudio pthread stdc++ \
FLAC++ ogg vorbisenc
BUILD_DEPENDS= ::archivers/zip
LIB_DEPENDS= wx_gtk.2.4::x11/wxWidgets/gtk \
sndfile.1::audio/libsndfile \
samplerate.1::audio/libsamplerate \
FLAC.4::audio/flac \
vorbis.0,vorbisfile.1::audio/libvorbis \
id3tag.2::audio/libid3tag \
mad.2::audio/libmad
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
WXCONFIG="${LOCALBASE}/bin/wxgtk-2.4-config"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-id3=system \
--with-vorbis=system \
--with-libflac=system \
--with-libmad=system \
--with-libsndfile=system \
--with-libsamplerate=system \
--with-libresample \
--with-nyquist \
--with-ladspa \
--with-portmixer \
--with-soundtouch \
--with-portaudio=v18 \
--with-help
MAKE_FLAGS= CC="${CC}"
REGRESS_FLAGS= LDFLAGS="-L${X11BASE}/lib"
pre-configure:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},' \
${WRKSRC}/src/export/ExportMP3.cpp
.include <bsd.port.mk>