2014-11-07 20:39:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2014/11/07 19:39:26 adam Exp $
|
2014-03-06 11:16:53 +01:00
|
|
|
|
|
|
|
DISTNAME= Csound${CSOUND_VERSION}
|
|
|
|
PKGNAME= csound6-${CSOUND_VERSION}
|
2014-11-07 20:39:24 +01:00
|
|
|
PKGREVISION= 4
|
2014-03-06 11:16:53 +01:00
|
|
|
CATEGORIES= audio
|
2014-08-06 08:17:07 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=csound/csound6/Csound6.03/}
|
2014-03-06 11:16:53 +01:00
|
|
|
WRKSRC= ${WRKDIR}/Csound${CSOUND_VERSION}
|
|
|
|
|
|
|
|
MAINTAINER= mrg@eterna.com.au
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/csound/
|
|
|
|
COMMENT= Software synthesizer and sequencer
|
|
|
|
LICENSE= gnu-lgpl-v2.1 # or later
|
|
|
|
|
2014-08-06 08:17:07 +02:00
|
|
|
CSOUND_VERSION= 6.03.2
|
2014-03-06 11:16:53 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2014-03-12 20:00:36 +01:00
|
|
|
USE_TOOLS+= bison
|
2014-03-06 11:16:53 +01:00
|
|
|
CFLAGS+= -g -D__PKGSRC_PREFIX__=\"${PREFIX}/\" -DBETA
|
|
|
|
USE_CMAKE= yes
|
2014-08-19 15:47:06 +02:00
|
|
|
CMAKE_ARGS+= -DUSE_PULSEAUDIO:BOOL=ON
|
2014-03-06 11:16:53 +01:00
|
|
|
CMAKE_ARGS+= -DBUILD_RELEASE=1 -DCMAKE_BUILD_TYPE=Release
|
|
|
|
# CMAKE_INSTALL_RPATH doesn't work for some reason, so do it here.
|
|
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/csound6
|
|
|
|
|
|
|
|
# Has long files our tar doesn't understand.
|
2014-08-19 15:47:06 +02:00
|
|
|
EXTRACT_USING= bsdtar
|
2014-03-06 11:16:53 +01:00
|
|
|
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 5.01
|
2014-03-06 11:16:53 +01:00
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
|
|
|
CHECK_PORTABILITY_SKIP+= installer/misc/makedeb.sh \
|
|
|
|
installer/macosx/release-build-10.8.sh \
|
2014-08-19 15:47:06 +02:00
|
|
|
frontends/max_csound_tilde/installer/build-installer.sh \
|
|
|
|
frontends/max_csound_tilde/installer/build-installer-windows.sh
|
2014-03-06 11:16:53 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${DESTDIR}${PREFIX} && ${LN} -s ../lib/csound6/csound bin/csound6
|
|
|
|
|
|
|
|
.include "../../audio/fluidsynth/buildlink3.mk"
|
|
|
|
.include "../../audio/libsndfile/buildlink3.mk"
|
2014-08-19 15:47:06 +02:00
|
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
2014-03-06 11:16:53 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../x11/fltk/buildlink3.mk"
|
|
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|