summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2010-01-06 11:46:45 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2010-01-06 11:46:45 +0000
commit551df4d62324a2963a2b97194a49a86444b889a1 (patch)
treec29d2fd4f7d4b8f87127861bf9c4ade8a85e19c4 /audio
parentUpgrade to version 1.87. (diff)
New port: linux-fmodapi
The FMOD Ex Programmer's API and Designer are a world-leading library and toolkit for the creation and playback of interactive audio. FMOD products are widely used in the games industry and have gained a strong reputation for its ease of use, powerful software-mixed architecture and comprehensive cross-platform support. FMOD supports more hardware platforms than any other audio system - including the latest 'next gen' consoles. Consider the cost savings of not having to change code across any platform - Save months of development time. FMOD is actively developed, with regular releases of new features. Many new requested features have been provided to customers in a very short turnaround - if you want a new feature, just ask! WWW: http://www.fmod.org/
Notes
Notes: svn path=/head/; revision=247269
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/linux-fmodapi/Makefile27
-rw-r--r--audio/linux-fmodapi/distinfo3
-rw-r--r--audio/linux-fmodapi/files/patch-Makefile21
-rw-r--r--audio/linux-fmodapi/pkg-descr15
-rw-r--r--audio/linux-fmodapi/pkg-plist11
6 files changed, 78 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 101533f71bdf..de509f26c684 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -402,6 +402,7 @@
SUBDIR += linux-f8-nas-libs
SUBDIR += linux-f8-openal
SUBDIR += linux-f8-sdl_mixer
+ SUBDIR += linux-fmodapi
SUBDIR += linux-freealut
SUBDIR += linux-genpuid
SUBDIR += linux-libaudiofile
diff --git a/audio/linux-fmodapi/Makefile b/audio/linux-fmodapi/Makefile
new file mode 100644
index 000000000000..3f75fcfb04b8
--- /dev/null
+++ b/audio/linux-fmodapi/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: devel/linux-fmodapi
+# Date created: 2010-01-06
+# Whom: Edwin Groothuis <edwin@mavetju.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fmodapi
+PORTVERSION= 4.24.16
+CATEGORIES= audio devel linux
+MASTER_SITES= http://www.fmod.org/index.php/release/version/
+PKGNAMEPREFIX= linux-
+DISTNAME= fmodapi42416linux
+
+MAINTAINER= edwin@mavetju.org
+COMMENT= Music & Sound effects system
+
+ONLY_FOR_ARCHS= i386
+INSTALL_SHLIB= yes
+USE_LDCONFIG= yes
+NO_BUILD= yes
+USE_LINUX_PREFIX= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/audio/linux-fmodapi/distinfo b/audio/linux-fmodapi/distinfo
new file mode 100644
index 000000000000..dc29b28e48f4
--- /dev/null
+++ b/audio/linux-fmodapi/distinfo
@@ -0,0 +1,3 @@
+MD5 (fmodapi42416linux.tar.gz) = 00b157e8d09d539b0a7023c48b71422a
+SHA256 (fmodapi42416linux.tar.gz) = a516e48c0c715c31efdc0c810f26188c2bb484615e7a5e53ca936ad1d5e0b18d
+SIZE (fmodapi42416linux.tar.gz) = 11276420
diff --git a/audio/linux-fmodapi/files/patch-Makefile b/audio/linux-fmodapi/files/patch-Makefile
new file mode 100644
index 000000000000..206f09c49bd5
--- /dev/null
+++ b/audio/linux-fmodapi/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.orig 2009-07-27 22:55:17.000000000 +1000
++++ Makefile 2010-01-06 22:12:47.000000000 +1100
+@@ -1,8 +1,8 @@
+ VERSION = 4.24.16
+ LIBDIR = api/lib
+ HDRDIR = api/inc
+-DESTLIBDIR = /usr/local/lib
+-DESTHDRDIR = /usr/local/include/fmodex
++DESTLIBDIR = %%PREFIX%%/lib
++DESTHDRDIR = %%PREFIX%%/include/fmodex
+
+ all:
+ @echo "Possible targets:"
+@@ -51,7 +51,6 @@
+ @echo "Installing FMOD Ex libraries and headers..."
+ cp -f ${LIBDIR}/libfmodex-${VERSION}.so ${DESTLIBDIR}
+ cp -f ${LIBDIR}/libfmodexp-${VERSION}.so ${DESTLIBDIR}
+- ldconfig -n ${DESTLIBDIR}
+ mkdir -p ${DESTHDRDIR}
+ cp -f ${HDRDIR}/*.h* ${DESTHDRDIR}
+ @echo "done."
diff --git a/audio/linux-fmodapi/pkg-descr b/audio/linux-fmodapi/pkg-descr
new file mode 100644
index 000000000000..c0f91cd85e9a
--- /dev/null
+++ b/audio/linux-fmodapi/pkg-descr
@@ -0,0 +1,15 @@
+The FMOD Ex Programmer's API and Designer are a world-leading library
+and toolkit for the creation and playback of interactive audio.
+FMOD products are widely used in the games industry and have gained
+a strong reputation for its ease of use, powerful software-mixed
+architecture and comprehensive cross-platform support.
+
+FMOD supports more hardware platforms than any other audio system
+- including the latest 'next gen' consoles. Consider the cost savings
+of not having to change code across any platform - Save months of
+development time. FMOD is actively developed, with regular releases
+of new features. Many new requested features have been provided to
+customers in a very short turnaround - if you want a new feature,
+just ask!
+
+WWW: http://www.fmod.org/
diff --git a/audio/linux-fmodapi/pkg-plist b/audio/linux-fmodapi/pkg-plist
new file mode 100644
index 000000000000..394f866653d2
--- /dev/null
+++ b/audio/linux-fmodapi/pkg-plist
@@ -0,0 +1,11 @@
+lib/libfmodex-4.24.16.so
+lib/libfmodexp-4.24.16.so
+include/fmodex/fmod.h
+include/fmodex/fmod.hpp
+include/fmodex/fmod_codec.h
+include/fmodex/fmod_dsp.h
+include/fmodex/fmod_errors.h
+include/fmodex/fmod_memoryinfo.h
+include/fmodex/fmod_output.h
+include/fmodex/fmodlinux.h
+@dirrm include/fmodex