pkgsrc/audio/hydrogen/Makefile
2013-02-16 11:18:58 +00:00

48 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2013/02/16 11:20:12 wiz Exp $
DISTNAME= hydrogen-0.9.5.1
PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hydrogen/}
MAINTAINER= mrg@eterna.com.au
HOMEPAGE= http://www.hydrogen-music.org/
COMMENT= Real time drum machine/sequencer
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
BUILD_DEPENDS+= scons>=0.98:../../devel/scons
BUILD_DEPENDS+= subversion-base>=1.0:../../devel/subversion-base
MAKE_ENV+= QTDIR=${PREFIX}/qt4 PATH=$$PATH:${PREFIX}/qt4/bin
SCONS_ARGS= libarchive=1 jack=0 lrdf=0 QTDIR=${QTDIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
SCONS_ARGS+= alsa=1
.else
SCONS_ARGS+= alsa=0
.endif
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons DESTDIR=${DESTDIR} prefix=${PREFIX} ${SCONS_ARGS}
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons DESTDIR=${DESTDIR} prefix=${PREFIX} ${SCONS_ARGS} install
.include "../../archivers/libarchive/buildlink3.mk"
.if ${OPSYS} == "Linux"
. include "../../audio/alsa-lib/buildlink3.mk"
.endif
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"