summaryrefslogtreecommitdiff
path: root/multimedia/swfdec/buildlink3.mk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-06-04 10:41:41 +0000
committerjmmv <jmmv@pkgsrc.org>2005-06-04 10:41:41 +0000
commitcfa06d5e52c7690793373265da70540203765168 (patch)
treecd0e92a73b0f26c3bec85bf41565eebef7f2548f /multimedia/swfdec/buildlink3.mk
parent20d2e32f7400f309aab5ff725d928067168c4412 (diff)
downloadpkgsrc-cfa06d5e52c7690793373265da70540203765168.tar.gz
Move swfdec and swfdec-gtk2 from graphics to multimedia.
Suggested by wiz@.
Diffstat (limited to 'multimedia/swfdec/buildlink3.mk')
-rw-r--r--multimedia/swfdec/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/multimedia/swfdec/buildlink3.mk b/multimedia/swfdec/buildlink3.mk
new file mode 100644
index 00000000000..9b3fa6ee89c
--- /dev/null
+++ b/multimedia/swfdec/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2005/06/04 10:41:42 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SWFDEC_BUILDLINK3_MK:= ${SWFDEC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= swfdec
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswfdec}
+BUILDLINK_PACKAGES+= swfdec
+
+.if !empty(SWFDEC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.swfdec+= swfdec>=0.2.2
+BUILDLINK_RECOMMENDED.swfdec+= swfdec>=0.2.2nb1
+BUILDLINK_PKGSRCDIR.swfdec?= ../../graphics/swfdec
+.endif # SWFDEC_BUILDLINK3_MK
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/libart2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}