aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sdl_gfx
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-16 05:19:29 +0800
committerkrion <krion@FreeBSD.org>2003-12-16 05:19:29 +0800
commitfa6c2c0947044141bb7c51073c6da3e6d4851e19 (patch)
tree32e8dcd597d0b631559f2398127e225b9585829f /graphics/sdl_gfx
parent6c27ec11755c9e0fc6947c0cd6b5c603a274e505 (diff)
downloadfreebsd-ports-graphics-fa6c2c0947044141bb7c51073c6da3e6d4851e19.tar.gz
freebsd-ports-graphics-fa6c2c0947044141bb7c51073c6da3e6d4851e19.tar.zst
freebsd-ports-graphics-fa6c2c0947044141bb7c51073c6da3e6d4851e19.zip
- Update to version 2.0.10
PR: 60271 Submitted by: Ports Fury
Diffstat (limited to 'graphics/sdl_gfx')
-rw-r--r--graphics/sdl_gfx/Makefile14
-rw-r--r--graphics/sdl_gfx/distinfo2
-rw-r--r--graphics/sdl_gfx/pkg-plist2
3 files changed, 8 insertions, 10 deletions
diff --git a/graphics/sdl_gfx/Makefile b/graphics/sdl_gfx/Makefile
index 308e84c5009..f3870999e7f 100644
--- a/graphics/sdl_gfx/Makefile
+++ b/graphics/sdl_gfx/Makefile
@@ -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_SDL= yes
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 @@ CFLAGS+= -DUSE_MMX
.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 --git a/graphics/sdl_gfx/distinfo b/graphics/sdl_gfx/distinfo
index e3a9512a4dd..0b8ad49ef1a 100644
--- a/graphics/sdl_gfx/distinfo
+++ b/graphics/sdl_gfx/distinfo
@@ -1 +1 @@
-MD5 (SDL_gfx-2.0.9.tar.gz) = ed54191818990c092553a08e488ad35e
+MD5 (SDL_gfx-2.0.10.tar.gz) = 291b06426a3afe42ecac8473be2505d1
diff --git a/graphics/sdl_gfx/pkg-plist b/graphics/sdl_gfx/pkg-plist
index 8cb7a411196..8f92f4a02a8 100644
--- a/graphics/sdl_gfx/pkg-plist
+++ b/graphics/sdl_gfx/pkg-plist
@@ -5,4 +5,4 @@ include/SDL11/SDL_imageFilter.h
include/SDL11/SDL_rotozoom.h
lib/libSDL_gfx.a
lib/libSDL_gfx.so
-lib/libSDL_gfx.so.9
+lib/libSDL_gfx.so.10