]> gitweb @ CieloNegro.org - pkgsrc-supercollider.git/blob - Makefile
initial revision (not working)
[pkgsrc-supercollider.git] / Makefile
1 # $NetBSD$
2 #
3
4 DISTNAME=       SuperCollider-3.3.1-Source-With-Extras
5 PKGNAME=        supercollider-3.3.1
6 CATEGORIES=     audio
7 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=supercollider/}
8
9 MAINTAINER=     pho@cielonegro.org
10 HOMEPAGE=       http://supercollider.sourceforge.net/
11 COMMENT=        Real time audio synthesis and algorithmic composition
12 LICENSE=        gnu-gpl-v2
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 WRKSRC=                 ${WRKDIR}/SuperCollider-Source
17 USE_LANGUAGES=  c c++
18 USE_TOOLS+=             pkg-config
19
20 CHECK_PORTABILITY_SKIP+=        clean-compile.sh
21 CHECK_PORTABILITY_SKIP+=        compile.sh
22
23 .include "../../mk/bsd.prefs.mk"
24 SCONS_ENV=              ${CONFIGURE_ENV} ${MAKE_ENV}
25 SCONS_ARGS=             PREFIX=${PREFIX:Q}
26
27 .if defined(DESTDIR)
28 SCONS_ARGS+=    DESTDIR=${DESTDIR:Q}
29 .endif
30
31 # These are temporarily disabled with no strong reason.
32 SCONS_ARGS+=    SCEL=0  # Emacs interface
33 SCONS_ARGS+=    SCVIM=0 # Vim interface
34 SCONS_ARGS+=    SCED=0  # gedit interface
35
36 do-build:
37         ${RUN} cd ${WRKSRC} && \
38                 ${SETENV} ${SCONS_ENV} scons ${SCONS_ARGS}
39
40 do-install:
41         ${RUN} cd ${WRKSRC} && \
42                 ${SETENV} ${SCONS_ENV} scons ${SCONS_ARGS} install
43
44 .include "options.mk"
45
46 BUILD_DEPENDS+= scons>=0.96:../../devel/scons
47 .include "../../audio/jack/buildlink3.mk"
48 .include "../../audio/libsndfile/buildlink3.mk"
49 .include "../../math/fftwf/buildlink3.mk"
50 .include "../../mk/bsd.pkg.mk"