Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / hydrogen / Makefile
blob4f3f479edb1a64335f9693da8b86e185b13e28d4
1 # $NetBSD: Makefile,v 1.36 2013/02/06 23:21:40 jperkin Exp $
3 DISTNAME= hydrogen-0.9.5.1
4 PKGREVISION= 4
5 CATEGORIES= audio
6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hydrogen/}
8 MAINTAINER= mrg@eterna.com.au
9 HOMEPAGE= http://www.hydrogen-music.org/
10 COMMENT= Real time drum machine/sequencer
12 USE_LANGUAGES= c c++
13 USE_LIBTOOL= yes
14 USE_TOOLS+= pkg-config
16 BUILD_DEPENDS+= scons>=0.98:../../devel/scons
17 BUILD_DEPENDS+= subversion-base>=1.0:../../devel/subversion-base
19 MAKE_ENV+= QTDIR=${PREFIX}/qt4 PATH=$$PATH:${PREFIX}/qt4/bin
20 SCONS_ARGS= libarchive=1 jack=0 lrdf=0 QTDIR=${QTDIR}
22 .include "../../mk/bsd.prefs.mk"
24 .if ${OPSYS} == "Linux"
25 SCONS_ARGS+= alsa=1
26 .else
27 SCONS_ARGS+= alsa=0
28 .endif
30 do-build:
31 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons DESTDIR=${DESTDIR} prefix=${PREFIX} ${SCONS_ARGS}
33 do-install:
34 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons DESTDIR=${DESTDIR} prefix=${PREFIX} ${SCONS_ARGS} install
37 .include "../../archivers/libarchive/buildlink3.mk"
38 .if ${OPSYS} == "Linux"
39 . include "../../audio/alsa-lib/buildlink3.mk"
40 .endif
41 .include "../../audio/libsndfile/buildlink3.mk"
42 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
43 .include "../../x11/libSM/buildlink3.mk"
44 .include "../../x11/libXext/buildlink3.mk"
45 .include "../../x11/libXt/buildlink3.mk"
46 .include "../../x11/qt4-libs/buildlink3.mk"
47 .include "../../x11/qt4-tools/buildlink3.mk"
48 .include "../../mk/bsd.pkg.mk"