ports/55059: Update port: graphics/sdl_ttf
KATO Tsuguru
tkato at prontomail.com
Wed Jul 30 15:30:36 UTC 2003
>Number: 55059
>Category: ports
>Synopsis: Update port: graphics/sdl_ttf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 30 08:30:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_SDL
- PERL -> REINPLACE_CMD
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/sdl_ttf/Makefile graphics/sdl_ttf/Makefile
--- /usr/ports/graphics/sdl_ttf/Makefile Tue Jul 29 21:32:25 2003
+++ graphics/sdl_ttf/Makefile Wed Jul 30 23:18:54 2003
@@ -7,6 +7,7 @@
PORTNAME= sdl_ttf
PORTVERSION= 2.0.5
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/
DISTNAME= SDL_ttf-${PORTVERSION}
@@ -14,25 +15,22 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= A library to use TrueType fonts to render text in SDL applications
-BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
- freetype.9:${PORTSDIR}/print/freetype2
+LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
-SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
-
-USE_LIBTOOL= yes
+USE_SDL= yes
+USE_MESA= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
+USE_LIBTOOL= yes
+LIBTOOLFLAGS= --disable-ltlibs --release-ignore
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
+ -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
-CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
- CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
- -I${LOCALBASE}/include"
-
-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 <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list