diff options
author | krion <krion@FreeBSD.org> | 2003-10-24 23:39:46 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-10-24 23:39:46 +0000 |
commit | b16b621d142a39808ea1000fba9ad6e3217f04df (patch) | |
tree | 737e5fc1ddcd7091381e7c681c1cfdc8c186ce8a /audio/sdl_sound/Makefile | |
parent | 174525227697015e6e8e867c129fe92b29f2f9b5 (diff) | |
download | FreeBSD-ports-b16b621d142a39808ea1000fba9ad6e3217f04df.zip FreeBSD-ports-b16b621d142a39808ea1000fba9ad6e3217f04df.tar.gz |
- Update to version 1.0.1
- Maintainer timeout
PR: 58216
Submitted by: Ports Fury
Diffstat (limited to 'audio/sdl_sound/Makefile')
-rw-r--r-- | audio/sdl_sound/Makefile | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/audio/sdl_sound/Makefile b/audio/sdl_sound/Makefile index 619acb1..b4b1161 100644 --- a/audio/sdl_sound/Makefile +++ b/audio/sdl_sound/Makefile @@ -6,32 +6,22 @@ # PORTNAME= sdl_sound -PORTVERSION= 1.0.0 +PORTVERSION= 1.0.1 CATEGORIES= audio MASTER_SITES= http://www.icculus.org/SDL_sound/downloads/ -DISTNAME= SDL_sound-1.0.0 +DISTNAME= SDL_sound-${PORTVERSION} MAINTAINER= dyeske@yahoo.com COMMENT= A SDL audio library and player for some popular sound file formats -LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 - -GNU_CONFIGURE= yes -USE_LIBTOOL= yes +USE_SDL= yes USE_REINPLACE= yes +USE_LIBTOOL= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" INSTALLS_SHLIB= yes -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" -SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config - -post-patch: - @${REINPLACE_CMD} -E -e \ - 's|^program_transform_name.+$$||' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - @${REINPLACE_CMD} -E -e \ - 's|\$$\(includedir\)/SDL|\$$(includedir)/SDL11|' \ - ${CONFIGURE_WRKSRC}/Makefile.in - .include <bsd.port.pre.mk> .if !defined(WITHOUT_FLAC) @@ -46,12 +36,24 @@ LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod CONFIGURE_ARGS+= --disable-mikmod .endif +.if !defined(WITHOUT_PHYSFS) +LIB_DEPENDS+= physfs-0.1.9:${PORTSDIR}/devel/physfs +.else +CONFIGURE_ARGS+= --disable-physfs +.endif + .if !defined(WITHOUT_SMPEG) LIB_DEPENDS+= smpeg.1:${PORTSDIR}/multimedia/smpeg .else CONFIGURE_ARGS+= --disable-smpeg .endif +.if !defined(WITHOUT_SPEEX) +LIB_DEPENDS+= speex.2:${PORTSDIR}/audio/speex +.else +CONFIGURE_ARGS+= --disable-speex +.endif + .if !defined(WITHOUT_MIDI) RUN_DEPENDS+= ${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity BUILD_DEPENDS+= ${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity @@ -72,9 +74,15 @@ pre-extract: .if !defined(WITHOUT_MIKMOD) @${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_MIKMOD." .endif +.if !defined(WITHOUT_PHYSFS) + @${ECHO_MSG} "You can disable support for physfs by defining WITHOUT_PHYSFS." +.endif .if !defined(WITHOUT_SMPEG) @${ECHO_MSG} "You can disable support for smpeg by defining WITHOUT_SMPEG." .endif +.if !defined(WITHOUT_SPEEX) + @${ECHO_MSG} "You can disable support for speex by defining WITHOUT_SPEEX." +.endif .if !defined(WITHOUT_MIDI) @${ECHO_MSG} "You can disable support for midi by defining WITHOUT_MIDI." .endif @@ -82,4 +90,8 @@ pre-extract: @${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS." .endif +post-patch: + @${REINPLACE_CMD} -e 's|$$(includedir)/SDL|$$(includedir)/SDL11|' \ + ${WRKSRC}/Makefile.in + .include <bsd.port.post.mk> |