diff options
author | snj <snj> | 2004-05-01 17:57:21 +0000 |
---|---|---|
committer | snj <snj> | 2004-05-01 17:57:21 +0000 |
commit | f56727a68f5851d4bb08a554c7f13ac0d17f7ad1 (patch) | |
tree | 53792b49a8e9fc0dc21d5ea243e2405dde2dc562 /x11 | |
parent | 6ad93730bb6378121ea6c775be1886824ec3f2a4 (diff) | |
download | pkgsrc-f56727a68f5851d4bb08a554c7f13ac0d17f7ad1.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/pygtk/Makefile | 15 | ||||
-rw-r--r-- | x11/pygtk/buildlink3.mk | 20 |
2 files changed, 28 insertions, 7 deletions
diff --git a/x11/pygtk/Makefile b/x11/pygtk/Makefile index 6420742d73e..71dd38b1479 100644 --- a/x11/pygtk/Makefile +++ b/x11/pygtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/04/25 04:16:44 xtraeme Exp $ +# $NetBSD: Makefile,v 1.13 2004/05/01 17:57:21 snj Exp $ # DISTNAME= pygtk-0.6.9 @@ -17,12 +17,13 @@ CONFIGURE_ENV+= PYTHON=${PYTHONBIN} USE_GNU_TOOLS+= make USE_LIBTOOL= yes PY_PATCHPLIST= yes -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes -.include "../../graphics/imlib/buildlink2.mk" -.include "../../graphics/gdk-pixbuf/buildlink2.mk" -.include "../../devel/libglade/buildlink2.mk" +.include "../../graphics/imlib/buildlink3.mk" +.include "../../graphics/gdk-pixbuf/buildlink3.mk" +.include "../../devel/libglade/buildlink3.mk" .include "../../lang/python/extension.mk" -.include "../../x11/gtk/buildlink2.mk" -.include "../../x11/gtkglarea/buildlink2.mk" +.include "../../x11/gtk/buildlink3.mk" +.include "../../x11/gtkglarea/buildlink3.mk" + .include "../../mk/bsd.pkg.mk" diff --git a/x11/pygtk/buildlink3.mk b/x11/pygtk/buildlink3.mk new file mode 100644 index 00000000000..9e3fb0be872 --- /dev/null +++ b/x11/pygtk/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/05/01 17:57:21 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_GTK_BUILDLINK3_MK:= ${PY_GTK_BUILDLINK3_MK}+ + +.include "../../lang/python/pyversion.mk" + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= pygtk +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npygtk} +BUILDLINK_PACKAGES+= pygtk + +.if !empty(PY_GTK_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.pygtk+= ${PYPKGPREFIX}-gtk>=0.6.9nb4 +BUILDLINK_PKGSRCDIR.pygtk?= ../../x11/pygtk +.endif # PY_GTK_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |