summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorsnj <snj>2004-04-26 05:20:57 +0000
committersnj <snj>2004-04-26 05:20:57 +0000
commitedc07c6dc92a40765f4b051f6a33fe01d9678b38 (patch)
tree95d57f1dbf25a366d5cc880c79b796705c1f34fc /comms
parentff60191b47f076b83f730d482b423414635b81bd (diff)
downloadpkgsrc-edc07c6dc92a40765f4b051f6a33fe01d9678b38.tar.gz
Convert to buildlink3.
Diffstat (limited to 'comms')
-rw-r--r--comms/gnome-pilot/Makefile14
-rw-r--r--comms/gnome-pilot/buildlink3.mk25
2 files changed, 32 insertions, 7 deletions
diff --git a/comms/gnome-pilot/Makefile b/comms/gnome-pilot/Makefile
index dbe4c68410a..704bdd73022 100644
--- a/comms/gnome-pilot/Makefile
+++ b/comms/gnome-pilot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/04/14 16:15:21 jmmv Exp $
+# $NetBSD: Makefile,v 1.17 2004/04/26 05:22:25 snj Exp $
#
DISTNAME= gnome-pilot-0.1.71
@@ -18,7 +18,7 @@ BUILDLINK_DEPENDS.gnome-panel= gnome-panel<2.0
GNU_CONFIGURE= YES
USE_X11BASE= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_DIRS+= gnome1-1.5
USE_PKGLOCALEDIR= YES
USE_LIBINTL= YES
@@ -27,9 +27,9 @@ USE_PERL5= build
CONFIGURE_ARGS+= --with-pisock=${LOCALBASE}
-.include "../../comms/pilot-link-libs/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../devel/libglade/buildlink2.mk"
-.include "../../textproc/libxml/buildlink2.mk"
-.include "../../x11/gnome-core/buildlink2.mk"
+.include "../../comms/pilot-link-libs/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libglade/buildlink3.mk"
+.include "../../textproc/libxml/buildlink3.mk"
+.include "../../x11/gnome-core/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/gnome-pilot/buildlink3.mk b/comms/gnome-pilot/buildlink3.mk
new file mode 100644
index 00000000000..d63bad749e4
--- /dev/null
+++ b/comms/gnome-pilot/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/26 05:22:25 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GNOME_PILOT_BUILDLINK3_MK:= ${GNOME_PILOT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gnome-pilot
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-pilot}
+BUILDLINK_PACKAGES+= gnome-pilot
+
+.if !empty(GNOME_PILOT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gnome-pilot?= gnome-pilot>=0.1.71nb6
+BUILDLINK_RECOMMENDED.gnome-pilot?= gnome-pilot>=0.1.71nb8
+BUILDLINK_PKGSRCDIR.gnome-pilot?= ../../comms/gnome-pilot
+.endif # GNOME_PILOT_BUILDLINK3_MK
+
+.include "../../comms/pilot-link-libs/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libglade/buildlink3.mk"
+.include "../../textproc/libxml/buildlink3.mk"
+.include "../../x11/gnome-core/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}