mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
12d3ac5e51
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/
44 lines
884 B
Makefile
44 lines
884 B
Makefile
# 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>
|