summaryrefslogtreecommitdiff
path: root/devel/SDL_gfx
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-25 19:21:43 +0000
committerjlam <jlam>2002-08-25 19:21:43 +0000
commitd257fd9c86ab9f4bf75bd5c7918c6728844d3da3 (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /devel/SDL_gfx
parent65df886c1484d0f586189778ec4e72c364fa5a17 (diff)
downloadpkgsrc-d257fd9c86ab9f4bf75bd5c7918c6728844d3da3.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'devel/SDL_gfx')
-rw-r--r--devel/SDL_gfx/buildlink2.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/SDL_gfx/buildlink2.mk b/devel/SDL_gfx/buildlink2.mk
new file mode 100644
index 00000000000..f2b21926a7e
--- /dev/null
+++ b/devel/SDL_gfx/buildlink2.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:19 jlam Exp $
+
+.if !defined(SDL_GFX_BUILDLINK2_MK)
+SDL_GFX_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= SDL_gfx
+BUILDLINK_DEPENDS.SDL_gfx?= SDL_gfx>=2.0.3
+BUILDLINK_PKGSRCDIR.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/buildlink2.mk"
+
+BUILDLINK_TARGETS+= SDL_gfx-buildlink
+
+SDL_gfx-buildlink: _BUILDLINK_USE
+
+.endif # SDL_GFX_BUILDLINK2_MK