From 4983a122aafc7ebce74e9b9fac6f9b1ddf7b4d7b Mon Sep 17 00:00:00 2001 From: daichi Date: Thu, 31 Jul 2003 07:25:30 +0000 Subject: update net/sdl_net: - Utilize USE_SDL - PERL -> REINPLACE_CMD PR: 55064 Submitted by: KATO Tsuguru --- net/sdl_net/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'net/sdl_net') diff --git a/net/sdl_net/Makefile b/net/sdl_net/Makefile index f82e1b177755..fbeac7acd4b1 100644 --- a/net/sdl_net/Makefile +++ b/net/sdl_net/Makefile @@ -14,22 +14,18 @@ DISTNAME= SDL_net-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A small sample cross-platform networking library -LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ - GUI.0:${PORTSDIR}/graphics/guilib +LIB_DEPENDS= GUI.0:${PORTSDIR}/graphics/guilib -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config - -USE_LIBTOOL= yes +USE_SDL= yes +USE_REINPLACE= yes USE_GMAKE= yes +USE_LIBTOOL= yes +LIBTOOLFLAGS= --disable-ltlibs --release-ignore INSTALLS_SHLIB= yes -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" - -post-extract: - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|-release \$$\(LT_RELEASE\)||g' post-configure: - @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ - ${WRKSRC}/libtool + @${REINPLACE_CMD} -e \ + 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ + ${WRKSRC}/libtool .include -- cgit