summaryrefslogtreecommitdiff
path: root/audio/clunk/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-04-13 00:24:21 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-04-13 00:24:21 +0000
commit12d3ac5e51a8fba8fe3a15e8d9d552c74234b1c9 (patch)
treef81f1c6d15e2ac7afb247f80b9e97c79dc91e66c /audio/clunk/Makefile
parent- Unbreak after recent PHP 5.3.2 update (diff)
The CLUNK C++ library provides support for real-time 3D sound
generation. It puts virtually no limitations on the developer; people who is experienced on working with other solutions (such as SDL_Mixer or Creative OpenAL) will respect this advantage. The library supports mixing of any number of sound channels and any number of objects that have sounds connected to them. The SDL library is used for sound output. The project is currently at beta testing stage, preparing to the first release. WWW: http://media.netive.ru/clunk/
Notes
Notes: svn path=/head/; revision=252624
Diffstat (limited to 'audio/clunk/Makefile')
-rw-r--r--audio/clunk/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/audio/clunk/Makefile b/audio/clunk/Makefile
new file mode 100644
index 000000000000..bddee6bf4514
--- /dev/null
+++ b/audio/clunk/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: clunk
+# Date created: 05 Aug 2009
+# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= clunk
+DISTVERSION= r20100412
+CATEGORIES= audio
+MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= Real-time 3D sound generation library
+
+USE_BZIP2= yes
+USE_SDL= sdl
+MAKE_JOBS_SAFE= yes
+USE_LDCONFIG= yes
+
+USE_SCONS= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+OPTIONS= SIMD "Enable SIMD support (SSE)" off
+
+.include <bsd.port.options.mk>
+
+.if !defined(WITH_SIMD)
+post-patch:
+ @${REINPLACE_CMD} -e '/^have_sse/ s|True|False|' ${WRKSRC}/SConstruct
+.endif
+
+.if ${OSVERSION} < 700000
+BROKEN= Requires posix_memalign()
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/libclunk.so ${PREFIX}/lib/
+ ${MKDIR} ${PREFIX}/include/clunk
+ ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/clunk/
+
+.include <bsd.port.mk>