1 # $NetBSD: Makefile,v 1.81 2013/01/26 21:37:01 adam Exp $
3 DISTNAME
= audacity-src-1.2
.6
5 PKGNAME
= ${DISTNAME
:S
/-src-
/-/}
7 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=audacity
/}
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://audacity.sourceforge.net
/
16 USE_TOOLS
+= autoconf gmake msgfmt pkg-config zip
:run
19 CONFIGURE_ARGS
+= --without-xaudio
20 CONFIGURE_ARGS
+= --with-id3
=system
21 CONFIGURE_ARGS
+= --with-libmad
=system
22 CONFIGURE_ARGS
+= --with-libsndfile
=system
23 CONFIGURE_ARGS
+= --with-portaudio
=system
24 CONFIGURE_ARGS
+= --with-vorbis
=system
25 CONFIGURE_ENV
+= WX_CONFIG
=${LOCALBASE}/bin
/wx24-config
27 CONFIG_GUESS_OVERRIDE
= \
28 config.guess
*/config.guess
*/*/config.guess
*/*/*/config.guess
29 CONFIG_SUB_OVERRIDE
= \
30 config.sub
*/config.sub
*/*/config.sub
*/*/*/config.sub
32 PTHREAD_AUTO_VARS
= yes
34 .
include "../../audio/lame/buildlink3.mk"
35 .
include "../../audio/libid3tag/buildlink3.mk"
36 .
include "../../audio/libmad/buildlink3.mk"
37 .
include "../../audio/libsndfile/buildlink3.mk"
38 .
include "../../audio/libvorbis/buildlink3.mk"
39 .
include "../../audio/portaudio/buildlink3.mk"
40 .
include "../../devel/zlib/buildlink3.mk"
41 .
include "../../x11/wxGTK24/buildlink3.mk"
43 .
include "../../mk/oss.buildlink3.mk"
44 .
include "../../mk/pthread.buildlink3.mk"
45 .
include "../../mk/bsd.pkg.mk"
47 # XXX Internal compiler error with -O2
48 .if
${MACHINE_ARCH} == "alpha"