aboutsummaryrefslogtreecommitdiff
path: root/graphics/synaesthesia
diff options
context:
space:
mode:
authorGeorge C A Reid <greid@FreeBSD.org>2001-05-26 10:48:21 +0000
committerGeorge C A Reid <greid@FreeBSD.org>2001-05-26 10:48:21 +0000
commitd593d56d899bcf5f2f20a113b6e222dcfb43f94f (patch)
tree5f1f1718a282a246205d1d1832ce1051c71b0ee3 /graphics/synaesthesia
parentdd6d94aee4140b56c1bf441f19eae5886f95658a (diff)
downloadports-d593d56d899bcf5f2f20a113b6e222dcfb43f94f.tar.gz
ports-d593d56d899bcf5f2f20a113b6e222dcfb43f94f.zip
Add synaesthesia 2.1, a program to graphically represents sound in real
time PR: 27652 Submitted by: Pete Fritchman <petef@databits.net>
Notes
Notes: svn path=/head/; revision=43078
Diffstat (limited to 'graphics/synaesthesia')
-rw-r--r--graphics/synaesthesia/Makefile30
-rw-r--r--graphics/synaesthesia/distinfo1
-rw-r--r--graphics/synaesthesia/files/patch-configure11
-rw-r--r--graphics/synaesthesia/files/patch-sound.cc10
-rw-r--r--graphics/synaesthesia/pkg-comment1
-rw-r--r--graphics/synaesthesia/pkg-descr15
-rw-r--r--graphics/synaesthesia/pkg-plist3
7 files changed, 71 insertions, 0 deletions
diff --git a/graphics/synaesthesia/Makefile b/graphics/synaesthesia/Makefile
new file mode 100644
index 000000000000..5a1b24358a12
--- /dev/null
+++ b/graphics/synaesthesia/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: synaesthesia
+# Date created: 25 May 2001
+# Whom: petef@databits.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= synaesthesia
+PORTVERSION= 2.1
+CATEGORIES= graphics
+MASTER_SITES= http://yoyo.cc.monash.edu.au/~pfh/
+
+MAINTAINER= petef@databits.net
+
+LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10
+
+USE_GMAKE= Yes
+USE_X_PREFIX= Yes
+
+GNU_CONFIGURE= Yes
+CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/synaesthesia ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/synaesthesia
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/synaesthesia
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/synaesthesia/distinfo b/graphics/synaesthesia/distinfo
new file mode 100644
index 000000000000..bf29bea03979
--- /dev/null
+++ b/graphics/synaesthesia/distinfo
@@ -0,0 +1 @@
+MD5 (synaesthesia-2.1.tar.gz) = 5bc166deb369a3c71efd61e1ad5e5475
diff --git a/graphics/synaesthesia/files/patch-configure b/graphics/synaesthesia/files/patch-configure
new file mode 100644
index 000000000000..4083551546d3
--- /dev/null
+++ b/graphics/synaesthesia/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sat May 26 11:34:45 2001
++++ configure Sat May 26 11:34:50 2001
+@@ -785,8 +785,6 @@
+
+
+
+-CXXFLAGS="-O4"
+-CFLAGS="-O4"
+
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
diff --git a/graphics/synaesthesia/files/patch-sound.cc b/graphics/synaesthesia/files/patch-sound.cc
new file mode 100644
index 000000000000..2119deba4126
--- /dev/null
+++ b/graphics/synaesthesia/files/patch-sound.cc
@@ -0,0 +1,10 @@
+--- sound.cc.orig Fri May 25 23:13:55 2001
++++ sound.cc Fri May 25 23:13:59 2001
+@@ -423,7 +423,7 @@
+ }
+ }
+
+- data = new short[NumSamples*2];
++ data = new u_short[NumSamples*2];
+ memset((char*)data,0,NumSamples*4);
+ }
diff --git a/graphics/synaesthesia/pkg-comment b/graphics/synaesthesia/pkg-comment
new file mode 100644
index 000000000000..9968766fe069
--- /dev/null
+++ b/graphics/synaesthesia/pkg-comment
@@ -0,0 +1 @@
+Graphically represents sound in real time
diff --git a/graphics/synaesthesia/pkg-descr b/graphics/synaesthesia/pkg-descr
new file mode 100644
index 000000000000..0fe6a2e7f2be
--- /dev/null
+++ b/graphics/synaesthesia/pkg-descr
@@ -0,0 +1,15 @@
+Synaesthesia is a program that represents music graphically in real
+time as coruscating field of fog and glowing lines. It is intended
+as a visual accompanyment to music. Synaesthesia seeks to provide
+not just a visual representation of sound, but a representation of
+how sound is percieved. Its display combines information about
+the frequency, location and diffuseness of sound. The display is
+sufficiently detailed to make it possible to distinguish several
+individual instruments, singers, or special effects on screen by
+their location, shape and color, and sufficiently fast to distinguish
+individual drum beats and notes.
+
+WWW: http://yoyo.cc.monash.edu.au/~pfh/synaesthesia.html
+
+- Pete
+petef@databits.net
diff --git a/graphics/synaesthesia/pkg-plist b/graphics/synaesthesia/pkg-plist
new file mode 100644
index 000000000000..61cc7404e6ec
--- /dev/null
+++ b/graphics/synaesthesia/pkg-plist
@@ -0,0 +1,3 @@
+bin/synaesthesia
+%%PORTDOCS%%share/doc/synaesthesia/README
+%%PORTDOCS%%@dirrm share/doc/synaesthesia