Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / muse / Makefile
blobe398fdc753a60422bf5a47ccbed51e7fbeb6c0ea
1 # $NetBSD: Makefile,v 1.44 2012/10/08 23:01:12 adam Exp $
4 DISTNAME= MuSE-0.9
5 PKGNAME= ${DISTNAME:S/MuSE/muse/}
6 PKGREVISION= 23
7 CATEGORIES= audio
8 MASTER_SITES= ftp://ftp.dyne.org/muse/releases/ \
9 http://www.ljudmila.org/~jaromil/mirror/muse/releases/
11 MAINTAINER= pkgsrc-users@NetBSD.org
12 HOMEPAGE= http://muse.dyne.org/
13 COMMENT= Multiple Streaming Engine
14 LICENSE= gnu-gpl-v2
16 GNU_CONFIGURE= yes
17 USE_LANGUAGES= c c++
18 USE_TOOLS+= gmake pkg-config msgfmt
19 USE_PKGLOCALEDIR= yes
21 CONFIGURE_ARGS+= --disable-ncurses
22 CONFIGURE_ARGS+= --disable-lubrify
23 CONFIGURE_ARGS+= --enable-gtk2
24 LIBS+= ${LIBOSSAUDIO}
25 MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
26 MAKE_FLAGS+= docsdir=${PREFIX:Q}/share/doc/MuSE
28 LIBS.SunOS+= -lsocket -lnsl
30 SUBST_CLASSES+= dsp
31 SUBST_STAGE.dsp= post-patch
32 SUBST_FILES.dsp= src/jmixer.cpp src/libmpeg/fileplayer.cc
33 SUBST_SED.dsp= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
34 SUBST_MESSAGE.dsp= Fixing hardcoded audio device.
36 .include "../../audio/lame/buildlink3.mk"
37 .include "../../audio/libvorbis/buildlink3.mk"
38 .include "../../audio/libsndfile/buildlink3.mk"
39 .include "../../devel/ncurses/buildlink3.mk"
40 .include "../../x11/gtk2/buildlink3.mk"
41 .include "../../mk/pthread.buildlink3.mk"
42 .include "../../mk/oss.buildlink3.mk"
43 .include "../../mk/bsd.pkg.mk"