summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wm/compiz-fusion-plugins-main/Makefile3
-rw-r--r--wm/compiz-fusion-plugins-main/buildlink3.mk21
2 files changed, 23 insertions, 1 deletions
diff --git a/wm/compiz-fusion-plugins-main/Makefile b/wm/compiz-fusion-plugins-main/Makefile
index efdbbdb33c0..d6d3bea9933 100644
--- a/wm/compiz-fusion-plugins-main/Makefile
+++ b/wm/compiz-fusion-plugins-main/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/05/12 12:47:29 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2008/05/12 13:19:17 jmcneill Exp $
#
DISTNAME= compiz-fusion-plugins-main-0.6.0
+PKGREVISION= 1
CATEGORIES= wm x11
MASTER_SITES= http://releases.compiz-fusion.org/0.6.0/
diff --git a/wm/compiz-fusion-plugins-main/buildlink3.mk b/wm/compiz-fusion-plugins-main/buildlink3.mk
new file mode 100644
index 00000000000..f2f6952e8d0
--- /dev/null
+++ b/wm/compiz-fusion-plugins-main/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/05/12 13:19:17 jmcneill Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+COMPIZ_FUSION_PLUGINS_MAIN_BUILDLINK3_MK:= ${COMPIZ_FUSION_PLUGINS_MAIN_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= compiz-fusion-plugins-main
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncompiz-fusion-plugins-main}
+BUILDLINK_PACKAGES+= compiz-fusion-plugins-main
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}compiz-fusion-plugins-main
+
+.if ${COMPIZ_FUSION_PLUGINS_MAIN_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.compiz-fusion-plugins-main+= compiz-fusion-plugins-main>=0.6.0nb1
+BUILDLINK_PKGSRCDIR.compiz-fusion-plugins-main?= ../../wm/compiz-fusion-plugins-main
+.endif # COMPIZ_FUSION_PLUGINS_MAIN_BUILDLINK3_MK
+
+.include "../../wm/compiz/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}