summaryrefslogtreecommitdiff
path: root/devel/SDL_gfx/buildlink3.mk
diff options
context:
space:
mode:
authorsnj <snj>2004-03-07 04:21:55 +0000
committersnj <snj>2004-03-07 04:21:55 +0000
commit4d681b9747dd68d7d4f526f2ee17e46ff443a892 (patch)
tree834a078c5841ced41065a1783eb525c95d066d30 /devel/SDL_gfx/buildlink3.mk
parent5bf893ad7a6d4a4243ee83eab66acc123698df53 (diff)
downloadpkgsrc-4d681b9747dd68d7d4f526f2ee17e46ff443a892.tar.gz
bl3ify.
Diffstat (limited to 'devel/SDL_gfx/buildlink3.mk')
-rw-r--r--devel/SDL_gfx/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/SDL_gfx/buildlink3.mk b/devel/SDL_gfx/buildlink3.mk
new file mode 100644
index 00000000000..270fea80041
--- /dev/null
+++ b/devel/SDL_gfx/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 04:21:55 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SDL_GFX_BUILDLINK3_MK:= ${SDL_GFX_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= SDL_gfx
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_gfx}
+BUILDLINK_PACKAGES+= SDL_gfx
+
+.if !empty(SDL_GFX_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.SDL_gfx+= SDL_gfx>=2.0.3nb2
+BUILDLINK_PKGSRCDIR.SDL_gfx?= ../../devel/SDL_gfx
+
+.include "../../devel/SDL/buildlink3.mk"
+
+.endif # SDL_GFX_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}