blob: a911314c3779cd288c2b3a4f287e64a8132ad58d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.38 2013/06/03 10:04:33 wiz Exp $
DISTNAME= hydrogen-0.9.5.1
PKGREVISION= 5
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"
|