update audio/sdl_mixer:

- Utilize USE_SDL
  - PERL -> REINPLACE_CMD

PR:		55052
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Daichi GOTO 2003-07-31 06:55:52 +00:00
parent 923aca5c0a
commit 3857dbc24f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86014

View file

@ -14,20 +14,20 @@ DISTNAME= SDL_mixer-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= A sample multi-channel audio mixer library COMMENT= A sample multi-channel audio mixer library
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis \
smpeg.1:${PORTSDIR}/multimedia/smpeg \ smpeg.1:${PORTSDIR}/multimedia/smpeg
vorbis.2:${PORTSDIR}/audio/libvorbis
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config USE_SDL= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes
USE_GMAKE= yes USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="-I${X11BASE}/include"
post-configure: post-configure:
@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ @${REINPLACE_CMD} -e \
${WRKSRC}/libtool 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
.include <bsd.port.mk> .include <bsd.port.mk>