aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2004-01-07 11:38:01 +0800
committerpetef <petef@FreeBSD.org>2004-01-07 11:38:01 +0800
commit7586affcdcaa5d2e5d95a4269db768dee01abf30 (patch)
tree40c01c0b37675311f2aae3e8bcd5d56321893391 /graphics
parentcd847575905abf552d7b2143f21f701f4cc16d15 (diff)
downloadfreebsd-ports-gnome-7586affcdcaa5d2e5d95a4269db768dee01abf30.tar.gz
freebsd-ports-gnome-7586affcdcaa5d2e5d95a4269db768dee01abf30.tar.zst
freebsd-ports-gnome-7586affcdcaa5d2e5d95a4269db768dee01abf30.zip
- update to 2.2
- move master_site and www: to new home - replace patch with an RE
Diffstat (limited to 'graphics')
-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