summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2015-11-09 21:31:51 +0000
committerrene <rene@FreeBSD.org>2015-11-09 21:31:51 +0000
commit86f0e5e86693f4a986e7c7c522657588efa52b3e (patch)
tree022de249e92b309ab10c290ce9992dad86581ace
parent2ea8fa53e9be5f2bd8d620785e9316b52cf7455f (diff)
downloadFreeBSD-ports-86f0e5e86693f4a986e7c7c522657588efa52b3e.zip
FreeBSD-ports-86f0e5e86693f4a986e7c7c522657588efa52b3e.tar.gz
emulators/fuse: modernize port
- Update WWW to match actual website - Convert to USES=localbase - Regenerate patches with 'make makepatch' - Bump PORTREVISION
-rw-r--r--emulators/fuse/Makefile6
-rw-r--r--emulators/fuse/files/patch-sound__aosound.c8
-rw-r--r--emulators/fuse/files/patch-sound__sdlsound.c8
-rw-r--r--emulators/fuse/pkg-descr2
4 files changed, 11 insertions, 13 deletions
diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile
index 912d809..5d0c78f 100644
--- a/emulators/fuse/Makefile
+++ b/emulators/fuse/Makefile
@@ -3,7 +3,7 @@
PORTNAME= fuse
PORTVERSION= 1.1.1
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}-emulator/${PORTNAME}/${PORTVERSION}
@@ -17,12 +17,10 @@ LIB_DEPENDS= libspectrum.so:${PORTSDIR}/emulators/libspectrum \
libgcrypt.so:${PORTSDIR}/security/libgcrypt
GNU_CONFIGURE= yes
-USES= pkgconfig gmake
+USES= gmake localbase pkgconfig
USE_GNOME= libxml2 glib20
CONFIGURE_ARGS+=--without-alsa --without-joystick
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= AO ICONS ROMS
OPTIONS_DEFAULT= ICONS GTK2
diff --git a/emulators/fuse/files/patch-sound__aosound.c b/emulators/fuse/files/patch-sound__aosound.c
index 9adeac9..67b03d0 100644
--- a/emulators/fuse/files/patch-sound__aosound.c
+++ b/emulators/fuse/files/patch-sound__aosound.c
@@ -1,6 +1,6 @@
---- sound/aosound.c.orig 2013-05-16 22:26:12.000000000 +0200
-+++ sound/aosound.c 2013-11-09 22:31:16.000000000 +0100
-@@ -78,14 +78,14 @@
+--- sound/aosound.c.orig 2013-05-16 20:26:12 UTC
++++ sound/aosound.c
+@@ -78,14 +78,14 @@ driver_error( void )
}
}
@@ -17,7 +17,7 @@
mutable = utils_safe_strdup( device );
-@@ -119,6 +119,7 @@
+@@ -119,6 +119,7 @@ parse_driver_options( const char *device
}
free( mutable );
diff --git a/emulators/fuse/files/patch-sound__sdlsound.c b/emulators/fuse/files/patch-sound__sdlsound.c
index d837399e..d3ede95 100644
--- a/emulators/fuse/files/patch-sound__sdlsound.c
+++ b/emulators/fuse/files/patch-sound__sdlsound.c
@@ -1,6 +1,6 @@
---- sound/sdlsound.c.orig 2013-05-16 22:26:12.000000000 +0200
-+++ sound/sdlsound.c 2013-11-09 22:33:21.000000000 +0100
-@@ -94,7 +94,9 @@
+--- sound/sdlsound.c.orig 2013-05-16 20:26:12 UTC
++++ sound/sdlsound.c
+@@ -94,7 +94,9 @@ sound_lowlevel_init( const char *device,
speed to about 2000% on my Mac, 100Hz allows up to 5000% for me) */
if( hz > 100.0 ) hz = 100.0;
sound_framesiz = *freqptr / hz;
@@ -11,7 +11,7 @@
if ( SDL_OpenAudio( &requested, &received ) < 0 ) {
settings_current.sound = 0;
-@@ -112,7 +114,9 @@
+@@ -112,7 +114,9 @@ sound_lowlevel_init( const char *device,
requested.freq = *freqptr;
sound_framesiz = *freqptr / hz;
diff --git a/emulators/fuse/pkg-descr b/emulators/fuse/pkg-descr
index d8c0cb3..630aa83 100644
--- a/emulators/fuse/pkg-descr
+++ b/emulators/fuse/pkg-descr
@@ -4,4 +4,4 @@ loading from .tzx files, has sound and kempston joystick emulation,
and emulates various printers you could attach to the Spectrum.
It supports the new RZX input recording file format.
-WWW: http://www.srcf.ucam.org/~pak21/spectrum/fuse.html
+WWW: http://fuse-emulator.sourceforge.net
OpenPOWER on IntegriCloud