ports/60271: Update port: graphics/sdl_gfx to 2.0.10

KATO Tsuguru tkato at prontomail.com
Mon Dec 15 16:11:34 UTC 2003


>Number:         60271
>Category:       ports
>Synopsis:       Update port: graphics/sdl_gfx to 2.0.10
>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:   Mon Dec 15 08:10:19 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 2.0.10

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/sdl_gfx/Makefile graphics/sdl_gfx/Makefile
--- /usr/ports/graphics/sdl_gfx/Makefile	Wed Oct 29 10:27:36 2003
+++ graphics/sdl_gfx/Makefile	Fri Dec 12 12:51:13 2003
@@ -7,9 +7,9 @@
 #
 
 PORTNAME=	sdl_gfx
-PORTVERSION=	2.0.9
+PORTVERSION=	2.0.10
 CATEGORIES=	graphics
-MASTER_SITES=	http://www.ferzkopp.net/Software/%SUBDIR%/
+MASTER_SITES=	http://www.ferzkopp.net/~aschiffler/Software/%SUBDIR%/
 MASTER_SITE_SUBDIR=	SDL_gfx-${PORTVERSION:R}
 DISTNAME=	SDL_gfx-${PORTVERSION}
 
@@ -20,7 +20,8 @@
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
-CONFIGURE_ARGS=	--disable-mmx
+CONFIGURE_ARGS=	--includedir=${PREFIX}/include/SDL11 \
+		--disable-mmx
 MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
 		AUTOHEADER="${TRUE}"
 INSTALLS_SHLIB=	yes
@@ -32,10 +33,7 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} 's|^libSDL_gfxincludedir.*|&/SDL11|' \
-		${WRKSRC}/Makefile.in
-.for file in configure SDL_gfxPrimitives.h SDL_framerate.h SDL_rotozoom.h
-	@${REINPLACE_CMD} 's|<SDL/SDL|<SDL|g' ${WRKSRC}/${file}
-.endfor
+	@${GREP} -lR "<SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+		's|<SDL/SDL|<SDL|g'
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/graphics/sdl_gfx/distinfo graphics/sdl_gfx/distinfo
--- /usr/ports/graphics/sdl_gfx/distinfo	Wed Oct 29 10:27:36 2003
+++ graphics/sdl_gfx/distinfo	Fri Dec 12 12:10:11 2003
@@ -1 +1 @@
-MD5 (SDL_gfx-2.0.9.tar.gz) = ed54191818990c092553a08e488ad35e
+MD5 (SDL_gfx-2.0.10.tar.gz) = 291b06426a3afe42ecac8473be2505d1
diff -urN /usr/ports/graphics/sdl_gfx/pkg-plist graphics/sdl_gfx/pkg-plist
--- /usr/ports/graphics/sdl_gfx/pkg-plist	Wed Oct 29 10:27:36 2003
+++ graphics/sdl_gfx/pkg-plist	Fri Dec 12 12:18:03 2003
@@ -5,4 +5,4 @@
 include/SDL11/SDL_rotozoom.h
 lib/libSDL_gfx.a
 lib/libSDL_gfx.so
-lib/libSDL_gfx.so.9
+lib/libSDL_gfx.so.10
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list