aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sdl_gfx
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-04-05 05:05:50 +0800
committernork <nork@FreeBSD.org>2003-04-05 05:05:50 +0800
commit47c85b0563b473fd7db0fa0cd0b4532984c70fdf (patch)
tree4d98b6829de93be06abca5171c36e50496a5e26e /graphics/sdl_gfx
parentbfdf084524807fab0f4b092c63c5e528032cd0ce (diff)
downloadfreebsd-ports-gnome-47c85b0563b473fd7db0fa0cd0b4532984c70fdf.tar.gz
freebsd-ports-gnome-47c85b0563b473fd7db0fa0cd0b4532984c70fdf.tar.zst
freebsd-ports-gnome-47c85b0563b473fd7db0fa0cd0b4532984c70fdf.zip
Use the same header location as other SDL families.
PR: ports/48611 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'graphics/sdl_gfx')
-rw-r--r--graphics/sdl_gfx/Makefile7
-rw-r--r--graphics/sdl_gfx/pkg-plist10
2 files changed, 11 insertions, 6 deletions
diff --git a/graphics/sdl_gfx/Makefile b/graphics/sdl_gfx/Makefile
index b25f0b5f8171..91cad988d3a7 100644
--- a/graphics/sdl_gfx/Makefile
+++ b/graphics/sdl_gfx/Makefile
@@ -8,7 +8,7 @@
PORTNAME= sdl_gfx
PORTVERSION= 2.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.ferzkopp.net/Software/SDL_gfx-${PORTVERSION:R}/
DISTNAME= SDL_gfx-${PORTVERSION}
@@ -20,9 +20,14 @@ LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
INSTALLS_SHLIB= yes
+post-patch:
+ ${REINPLACE_CMD} 's,^libSDL_gfxincludedir.*,&/SDL11,' \
+ ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/graphics/sdl_gfx/pkg-plist b/graphics/sdl_gfx/pkg-plist
index a0b6d6c04013..e0f99b76ca54 100644
--- a/graphics/sdl_gfx/pkg-plist
+++ b/graphics/sdl_gfx/pkg-plist
@@ -1,8 +1,8 @@
-include/SDL_framerate.h
-include/SDL_gfxPrimitives.h
-include/SDL_gfxPrimitives_font.h
-include/SDL_imageFilter.h
-include/SDL_rotozoom.h
+include/SDL11/SDL_framerate.h
+include/SDL11/SDL_gfxPrimitives.h
+include/SDL11/SDL_gfxPrimitives_font.h
+include/SDL11/SDL_imageFilter.h
+include/SDL11/SDL_rotozoom.h
lib/libSDL_gfx.a
lib/libSDL_gfx.so
lib/libSDL_gfx.so.0