diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-05-03 18:58:57 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-05-03 18:58:57 +0000 |
commit | ff57a36a5814648f6bbfc2b0c2df08bc52a60e40 (patch) | |
tree | 2338a6cdc3ec0a38a33fcec714afb3bcb87bc1fa /audio/sdl_sound | |
parent | dad068d84dfe0bc26ed25ce1f808672be2a764c2 (diff) | |
download | ports-ff57a36a5814648f6bbfc2b0c2df08bc52a60e40.tar.gz ports-ff57a36a5814648f6bbfc2b0c2df08bc52a60e40.zip |
Notes
Diffstat (limited to 'audio/sdl_sound')
-rw-r--r-- | audio/sdl_sound/Makefile | 15 | ||||
-rw-r--r-- | audio/sdl_sound/files/patch-Makefile.in | 10 | ||||
-rw-r--r-- | audio/sdl_sound/files/patch-decoders-timidity-options.h | 11 | ||||
-rw-r--r-- | audio/sdl_sound/pkg-plist | 5 |
4 files changed, 11 insertions, 30 deletions
diff --git a/audio/sdl_sound/Makefile b/audio/sdl_sound/Makefile index b7f7a45bb1f3..14c3e53a62bb 100644 --- a/audio/sdl_sound/Makefile +++ b/audio/sdl_sound/Makefile @@ -3,20 +3,22 @@ PORTNAME= sdl_sound PORTVERSION= 1.0.3 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= audio MASTER_SITES= http://offload1.icculus.org:9090/SDL_sound/downloads/ \ http://offload2.icculus.org:9090/SDL_sound/downloads/ DISTNAME= SDL_sound-${PORTVERSION} MAINTAINER= mva@FreeBSD.org -COMMENT= A SDL audio library and player for some popular sound file formats +COMMENT= SDL audio library and player for some popular sound file formats -USE_AUTOTOOLS= libtool +USES= libtool USE_LDCONFIG= yes USE_SDL= sdl +GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip OPTIONS_DEFINE= FLAC MIKMOD MIDI MODPLUG PHYSFS SMPEG SPEEX VORBIS OPTIONS_DEFAULT= FLAC MIKMOD MIDI MODPLUG PHYSFS SMPEG SPEEX VORBIS @@ -25,7 +27,7 @@ MIDI_DESC= Software MIDI music PHYSFS_DESC= PhysicsFS support SMPEG_DESC= MP3 audio format -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MFLAC} LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac @@ -85,6 +87,7 @@ pre-everything:: .endif post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/decoders/timidity/options.h + @${REINPLACE_CMD} 's|timidity.cfg|${PREFIX}/share/timidity/&|' \ + ${WRKSRC}/decoders/timidity/options.h -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/audio/sdl_sound/files/patch-Makefile.in b/audio/sdl_sound/files/patch-Makefile.in deleted file mode 100644 index 75969df6c22f..000000000000 --- a/audio/sdl_sound/files/patch-Makefile.in +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.in.orig Tue Sep 12 19:18:15 2006 -+++ Makefile.in Tue Sep 12 19:18:24 2006 -@@ -127,7 +127,6 @@ - @USE_MPGLIB_FALSE@MPGLIB_LIB = - - libSDL_sound_la_LDFLAGS = \ -- -release $(LT_RELEASE) \ - -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) - - libSDL_sound_la_LIBADD = \ diff --git a/audio/sdl_sound/files/patch-decoders-timidity-options.h b/audio/sdl_sound/files/patch-decoders-timidity-options.h deleted file mode 100644 index a803cf2e21e9..000000000000 --- a/audio/sdl_sound/files/patch-decoders-timidity-options.h +++ /dev/null @@ -1,11 +0,0 @@ ---- decoders/timidity/options.h.orig 2008-04-17 21:56:20.000000000 +0400 -+++ decoders/timidity/options.h 2012-12-04 01:38:58.000000000 +0400 -@@ -80,7 +80,7 @@ - #define MAX_AMPLIFICATION 800 - - /* The TiMidity configuration file */ --#define CONFIG_FILE "timidity.cfg" -+#define CONFIG_FILE "%%PREFIX%%/share/timidity/timidity.cfg" - - /* These affect general volume */ - #define GUARD_BITS 3 diff --git a/audio/sdl_sound/pkg-plist b/audio/sdl_sound/pkg-plist index f9861283cad4..6d3ebaed39aa 100644 --- a/audio/sdl_sound/pkg-plist +++ b/audio/sdl_sound/pkg-plist @@ -1,8 +1,7 @@ bin/playsound bin/playsound_simple include/SDL/SDL_sound.h +lib/libSDL_sound-1.0.so.1 +lib/libSDL_sound-1.0.so.1.0.2 lib/libSDL_sound.a -lib/libSDL_sound.la lib/libSDL_sound.so -lib/libSDL_sound.so.1 -@dirrmtry include/SDL |