1 # $NetBSD: Makefile,v 1.36 2013/02/06 23:21:40 jperkin Exp $
3 DISTNAME
= hydrogen-0.9
.5.1
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
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"
31 cd
${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin
/scons DESTDIR
=${DESTDIR} prefix=${PREFIX} ${SCONS_ARGS}
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"
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"