summaryrefslogtreecommitdiff
path: root/devel/SDL_gfx
diff options
context:
space:
mode:
authorwiz <wiz>2002-03-24 20:14:36 +0000
committerwiz <wiz>2002-03-24 20:14:36 +0000
commit22b4ee17e50c8e53100ecfa8a020e5c82e1fb4f0 (patch)
treed1a0680cd5d14009cc5afdb7952c31c570ede185 /devel/SDL_gfx
parent698ae2fcb7145a1b464f9052f6bbaf2020e12d59 (diff)
downloadpkgsrc-22b4ee17e50c8e53100ecfa8a020e5c82e1fb4f0.tar.gz
Initial import of SDL_gfx, provided by Ben Collver in pkg/16015.
DESCR: The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing routines such as lines, circles or polygons for SDL Surfaces. The current components of the SDL_gfx library are: - Graphic Primitives (SDL_gfxPrimitves.h) - Rotozoomer (SDL_rotozoom.h) - Framerate control (SDL_framerate.h) - MMX image filters (SDL_imageFilter.h)
Diffstat (limited to 'devel/SDL_gfx')
-rw-r--r--devel/SDL_gfx/DESCR9
-rw-r--r--devel/SDL_gfx/Makefile27
-rw-r--r--devel/SDL_gfx/PLIST23
-rw-r--r--devel/SDL_gfx/buildlink.mk41
-rw-r--r--devel/SDL_gfx/distinfo4
5 files changed, 104 insertions, 0 deletions
diff --git a/devel/SDL_gfx/DESCR b/devel/SDL_gfx/DESCR
new file mode 100644
index 00000000000..d6ec3253e58
--- /dev/null
+++ b/devel/SDL_gfx/DESCR
@@ -0,0 +1,9 @@
+The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
+provided basic drawing routines such as lines, circles or polygons for
+SDL Surfaces.
+
+The current components of the SDL_gfx library are:
+- Graphic Primitives (SDL_gfxPrimitves.h)
+- Rotozoomer (SDL_rotozoom.h)
+- Framerate control (SDL_framerate.h)
+- MMX image filters (SDL_imageFilter.h)
diff --git a/devel/SDL_gfx/Makefile b/devel/SDL_gfx/Makefile
new file mode 100644
index 00000000000..07f04a868fa
--- /dev/null
+++ b/devel/SDL_gfx/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/03/24 20:14:36 wiz Exp $
+#
+
+DISTNAME= SDL_gfx-2.0.3
+CATEGORIES= devel
+MASTER_SITES= http://www.ferzkopp.net/Software/SDL_gfx-2.0/
+
+MAINTAINER= collver@linuxfreemail.com
+HOMEPAGE= http://www.ferzkopp.net/Software/SDL_gfx-2.0/
+COMMENT= basic drawing routines for SDL
+
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/SDL_gfx/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/SDL_gfx/Screenshots
+ ${INSTALL_DATA} ${WRKSRC}/Docs/*.* ${PREFIX}/share/doc/SDL_gfx/
+ ${INSTALL_DATA} ${WRKSRC}/Docs/Screenshots/* \
+ ${PREFIX}/share/doc/SDL_gfx/Screenshots
+
+.include "../../devel/SDL/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/SDL_gfx/PLIST b/devel/SDL_gfx/PLIST
new file mode 100644
index 00000000000..e3f24a03b8b
--- /dev/null
+++ b/devel/SDL_gfx/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/24 20:14:37 wiz Exp $
+include/SDL_framerate.h
+include/SDL_gfxPrimitives.h
+include/SDL_gfxPrimitives_font.h
+include/SDL_imageFilter.h
+include/SDL_rotozoom.h
+lib/libSDL_gfx.a
+lib/libSDL_gfx.la
+lib/libSDL_gfx.so
+lib/libSDL_gfx.so.0.0
+lib/libSDL_gfx.so.0
+share/doc/SDL_gfx/blank.gif
+share/doc/SDL_gfx/framerate-thumb.png
+share/doc/SDL_gfx/framerate.fig
+share/doc/SDL_gfx/framerate.png
+share/doc/SDL_gfx/index.html
+share/doc/SDL_gfx/styles.css
+share/doc/SDL_gfx/Screenshots/SDL_gfxPrimitives-thumb.jpg
+share/doc/SDL_gfx/Screenshots/SDL_gfxPrimitives.jpg
+share/doc/SDL_gfx/Screenshots/SDL_rotozoom-thumb.jpg
+share/doc/SDL_gfx/Screenshots/SDL_rotozoom.jpg
+@dirrm share/doc/SDL_gfx/Screenshots
+@dirrm share/doc/SDL_gfx
diff --git a/devel/SDL_gfx/buildlink.mk b/devel/SDL_gfx/buildlink.mk
new file mode 100644
index 00000000000..89007e3ac69
--- /dev/null
+++ b/devel/SDL_gfx/buildlink.mk
@@ -0,0 +1,41 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/03/24 20:14:37 wiz Exp $
+#
+# This Makefile fragment is included by packages that use SDL_gfx.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.SDL_gfx to the dependency pattern
+# for the version of SDL_gfx desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(SDL_gfx_BUILDLINK_MK)
+SDL_gfx_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.SDL_gfx?= SDL_gfx>=2.0.3
+DEPENDS+= ${BUILDLINK_DEPENDS.SDL_gfx}:../../devel/SDL_gfx
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.SDL_gfx=SDL_gfx
+
+BUILDLINK_PREFIX.SDL_gfx_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.SDL_gfx= include/SDL_framerate.h
+BUILDLINK_FILES.SDL_gfx+= include/SDL_gfxPrimitives.h
+BUILDLINK_FILES.SDL_gfx+= include/SDL_gfxPrimitives_font.h
+BUILDLINK_FILES.SDL_gfx+= include/SDL_imageFilter.h
+BUILDLINK_FILES.SDL_gfx+= include/SDL_rotozoom.h
+BUILDLINK_FILES.SDL_gfx+= lib/libSDL_gfx.*
+
+.include "../../devel/SDL/buildlink.mk"
+
+BUILDLINK_TARGETS.SDL_gfx= SDL_gfx-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.SDL_gfx}
+
+pre-configure: ${BUILDLINK_TARGETS.SDL_gfx}
+SDL_gfx-buildlink: _BUILDLINK_USE
+
+.endif # SDL_gfx_BUILDLINK_MK
diff --git a/devel/SDL_gfx/distinfo b/devel/SDL_gfx/distinfo
new file mode 100644
index 00000000000..58180b74972
--- /dev/null
+++ b/devel/SDL_gfx/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/03/24 20:14:37 wiz Exp $
+
+SHA1 (SDL_gfx-2.0.3.tar.gz) = 5112813e179146f3fb09194d7db2d9fdbf0c4314
+Size (SDL_gfx-2.0.3.tar.gz) = 507419 bytes