diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2004-01-07 03:38:01 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2004-01-07 03:38:01 +0000 |
commit | e27313caf897b673fdd6d54b1e82336835bcac13 (patch) | |
tree | dcbc5f6094bceb82b1d7e174288036b37eb5eb7e /graphics/synaesthesia | |
parent | Update to version 0.11.0 (diff) |
- update to 2.2
- move master_site and www: to new home
- replace patch with an RE
Diffstat (limited to 'graphics/synaesthesia')
-rw-r--r-- | graphics/synaesthesia/Makefile | 10 | ||||
-rw-r--r-- | graphics/synaesthesia/distinfo | 2 | ||||
-rw-r--r-- | graphics/synaesthesia/files/patch-sound.cc | 20 | ||||
-rw-r--r-- | graphics/synaesthesia/pkg-descr | 2 |
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 |