aboutsummaryrefslogtreecommitdiff
path: root/graphics/synaesthesia
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2004-01-07 03:38:01 +0000
committerPete Fritchman <petef@FreeBSD.org>2004-01-07 03:38:01 +0000
commite27313caf897b673fdd6d54b1e82336835bcac13 (patch)
treedcbc5f6094bceb82b1d7e174288036b37eb5eb7e /graphics/synaesthesia
parent73a1763dc854f66aac2cbcb62301084cc87437ae (diff)
downloadports-e27313caf897b673fdd6d54b1e82336835bcac13.tar.gz
ports-e27313caf897b673fdd6d54b1e82336835bcac13.zip
Notes
Diffstat (limited to 'graphics/synaesthesia')
-rw-r--r--graphics/synaesthesia/Makefile10
-rw-r--r--graphics/synaesthesia/distinfo2
-rw-r--r--graphics/synaesthesia/files/patch-sound.cc20
-rw-r--r--graphics/synaesthesia/pkg-descr2
4 files changed, 10 insertions, 24 deletions
diff --git a/graphics/synaesthesia/Makefile b/graphics/synaesthesia/Makefile
index 3431c96ae8ca..3d2b6edbb55a 100644
--- a/graphics/synaesthesia/Makefile
+++ b/graphics/synaesthesia/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= synaesthesia
-PORTVERSION= 2.1
+PORTVERSION= 2.2
CATEGORIES= graphics
-MASTER_SITES= http://yoyo.cc.monash.edu.au/~pfh/
+MASTER_SITES= http://www.logarithmic.net/pfh/Synaesthesia/
MAINTAINER= petef@FreeBSD.org
COMMENT= Graphically represents sound in real time
@@ -18,12 +18,18 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= Yes
+USE_REINPLACE= Yes
USE_X_PREFIX= Yes
GNU_CONFIGURE= Yes
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+post-patch:
+ @${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' `${FIND} ${WRKSRC} -name \*.cc -or -name \*.c`
+ @${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' \
+ -e 's,machine/soundcard.h,sys/soundcard.h,' ${WRKSRC}/sound.cc
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/synaesthesia ${PREFIX}/bin
.if !defined(NOPORTDOCS)
diff --git a/graphics/synaesthesia/distinfo b/graphics/synaesthesia/distinfo
index bf29bea03979..497f7f6fbec6 100644
--- a/graphics/synaesthesia/distinfo
+++ b/graphics/synaesthesia/distinfo
@@ -1 +1 @@
-MD5 (synaesthesia-2.1.tar.gz) = 5bc166deb369a3c71efd61e1ad5e5475
+MD5 (synaesthesia-2.2.tar.gz) = 9d15174b2a436d35099e0577863ca5d3
diff --git a/graphics/synaesthesia/files/patch-sound.cc b/graphics/synaesthesia/files/patch-sound.cc
deleted file mode 100644
index 40a7b2a23105..000000000000
--- a/graphics/synaesthesia/files/patch-sound.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- sound.cc.orig Wed Jun 7 22:41:06 2000
-+++ sound.cc Sat Sep 7 17:45:37 2002
-@@ -39,7 +39,7 @@
- #include <linux/cdrom.h>
- //#include <linux/ucdrom.h>
- #else
--#include <machine/soundcard.h>
-+#include <sys/soundcard.h>
- #include <sys/cdio.h>
- #define CDROM_LEADOUT 0xAA
- #define CD_FRAMES 75 /* frames per second */
-@@ -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-descr b/graphics/synaesthesia/pkg-descr
index 0fe6a2e7f2be..9ff2d8497c70 100644
--- a/graphics/synaesthesia/pkg-descr
+++ b/graphics/synaesthesia/pkg-descr
@@ -9,7 +9,7 @@ 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
+WWW: http://www.logarithmic.net/pfh/Synaesthesia
- Pete
petef@databits.net