pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2dda94e3376e
branches:  trunk
changeset: 474270:2dda94e3376e
user:      snj <snj%pkgsrc.org@localhost>
date:      Tue Apr 27 03:43:53 2004 +0000

description:
Convert to buildlink3.

diffstat:

 devel/py-curses/Makefile           |   6 +++---
 devel/py-curses/buildlink2.mk      |  13 -------------
 devel/py-curses/buildlink3.mk      |  22 ++++++++++++++++++++++
 devel/py-cursespanel/Makefile      |   7 +++----
 devel/py-cursespanel/buildlink2.mk |  15 ---------------
 devel/py-cursespanel/buildlink3.mk |  22 ++++++++++++++++++++++
 net/bittorrent-gui/Makefile        |   4 ++--
 net/bittorrent/Makefile            |   4 ++--
 net/bittorrent/Makefile.common     |   4 ++--
 9 files changed, 56 insertions(+), 41 deletions(-)

diffs (188 lines):

diff -r 6b61c5c20ccb -r 2dda94e3376e devel/py-curses/Makefile
--- a/devel/py-curses/Makefile  Tue Apr 27 03:30:04 2004 +0000
+++ b/devel/py-curses/Makefile  Tue Apr 27 03:43:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/03/28 13:15:56 darcy Exp $
+# $NetBSD: Makefile,v 1.23 2004/04/27 03:43:53 snj Exp $
 #
 
 PKGNAME=       ${PYPKGPREFIX}-curses-0
@@ -9,7 +9,7 @@
 HOMEPAGE=      http://www.python.org/doc/current/lib/module-curses.html
 COMMENT=       Curses module for Python
 
-USE_BUILDLINK2=        yes
+USE_BUILDLINK3=        yes
 USE_NCURSES=   # filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ...
 # noqiflush pechochar putp putwin qiflush redrawwin setsyx syncok termattrs
 # termname tigetflag tigetnum tigetstr tparm typeahead use_env wcursyncup
@@ -33,5 +33,5 @@
 
 .include "../../lang/python/extension.mk"
 .include "../../lang/python/srcdist.mk"
-.include "../../devel/ncurses/buildlink2.mk"
+.include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b61c5c20ccb -r 2dda94e3376e devel/py-curses/buildlink2.mk
--- a/devel/py-curses/buildlink2.mk     Tue Apr 27 03:30:04 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2004/03/29 05:05:38 jlam Exp $
-
-.if !defined(PYCURSES_BUILDLINK2_MK)
-PYCURSES_BUILDLINK2_MK=        # defined
-
-.include "../../lang/python/pyversion.mk"
-
-BUILDLINK_PACKAGES+=                   pycurses
-BUILDLINK_PKGBASE.pycurses?=           ${PYPKGPREFIX}-curses
-BUILDLINK_DEPENDS.pycurses?=           ${PYPKGPREFIX}-curses-[0-9]*
-BUILDLINK_PKGSRCDIR.pycurses?=         ../../devel/py-curses
-
-.endif # PYCURSES_BUILDLINK2_MK
diff -r 6b61c5c20ccb -r 2dda94e3376e devel/py-curses/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-curses/buildlink3.mk     Tue Apr 27 03:43:53 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/27 03:43:53 snj Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+PY_CURSES_BUILDLINK3_MK:=      ${PY_CURSES_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    pycurses
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npycurses}
+BUILDLINK_PACKAGES+=   pycurses
+
+.if !empty(PY_CURSES_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pycurses+=   ${PYPKGPREFIX}-curses-[0-9]*
+BUILDLINK_PKGSRCDIR.pycurses?= ../../devel/py-curses
+.endif # PY_CURSES_BUILDLINK3_MK
+
+.include "../../devel/ncurses/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 6b61c5c20ccb -r 2dda94e3376e devel/py-cursespanel/Makefile
--- a/devel/py-cursespanel/Makefile     Tue Apr 27 03:30:04 2004 +0000
+++ b/devel/py-cursespanel/Makefile     Tue Apr 27 03:43:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/09/28 09:13:56 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2004/04/27 03:43:53 snj Exp $
 #
 
 PKGNAME=       ${PYPKGPREFIX}-cursespanel-0
@@ -9,7 +9,7 @@
 HOMEPAGE=      http://www.python.org/doc/current/lib/module-curses.html
 COMMENT=       Curses panel module for Python
 
-USE_BUILDLINK2=        yes
+USE_BUILDLINK3=        yes
 USE_NCURSES=   # filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ...
 # noqiflush pechochar putp putwin qiflush redrawwin setsyx syncok termattrs
 # termname tigetflag tigetnum tigetstr tparm typeahead use_env wcursyncup
@@ -31,6 +31,5 @@
 
 .include "../../lang/python/extension.mk"
 .include "../../lang/python/srcdist.mk"
-.include "../../devel/py-curses/buildlink2.mk"
-.include "../../devel/ncurses/buildlink2.mk"
+.include "../../devel/py-curses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b61c5c20ccb -r 2dda94e3376e devel/py-cursespanel/buildlink2.mk
--- a/devel/py-cursespanel/buildlink2.mk        Tue Apr 27 03:30:04 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2004/03/29 05:05:38 jlam Exp $
-
-.if !defined(PYCURSESPANEL_BUILDLINK2_MK)
-PYCURSESPANEL_BUILDLINK2_MK=   # defined
-
-.include "../../lang/python/pyversion.mk"
-
-BUILDLINK_PACKAGES+=                   pycursespanel
-BUILDLINK_PKGBASE.pycursespanel?=      ${PYPKGPREFIX}-cursespanel
-BUILDLINK_DEPENDS.pycursespanel?=      ${PYPKGPREFIX}-cursespanel-[0-9]*
-BUILDLINK_PKGSRCDIR.pycursespanel?=    ../../devel/py-cursespanel
-
-.include "../../devel/py-curses/buildlink2.mk"
-
-.endif # PYCURSESPANEL_BUILDLINK2_MK
diff -r 6b61c5c20ccb -r 2dda94e3376e devel/py-cursespanel/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cursespanel/buildlink3.mk        Tue Apr 27 03:43:53 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/27 03:43:54 snj Exp $
+
+BUILDLINK_DEPTH:=                      ${BUILDLINK_DEPTH}+
+PY_CURSESPANEL_BUILDLINK3_MK:= ${PY_CURSESPANEL_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    pycursespanel
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npycursespanel}
+BUILDLINK_PACKAGES+=   pycursespanel
+
+.if !empty(PY_CURSESPANEL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pycursespanel+=      ${PYPKGPREFIX}-cursespanel-[0-9]*
+BUILDLINK_PKGSRCDIR.pycursespanel?=    ../../devel/py-cursespanel
+.endif # PY_CURSESPANEL_BUILDLINK3_MK
+
+.include "../../devel/ncurses/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 6b61c5c20ccb -r 2dda94e3376e net/bittorrent-gui/Makefile
--- a/net/bittorrent-gui/Makefile       Tue Apr 27 03:30:04 2004 +0000
+++ b/net/bittorrent-gui/Makefile       Tue Apr 27 03:43:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/03/29 23:39:43 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/27 03:43:54 snj Exp $
 #
 
 .include "../../net/bittorrent/Makefile.common"
@@ -18,5 +18,5 @@
        ${INSTALL_SCRIPT} ${WRKSRC}/btdownloadgui.py ${PREFIX}/bin
 
 .include "../../lang/python/application.mk"
-.include "../../x11/py-wxWindows/buildlink2.mk"
+.include "../../x11/py-wxWindows/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b61c5c20ccb -r 2dda94e3376e net/bittorrent/Makefile
--- a/net/bittorrent/Makefile   Tue Apr 27 03:30:04 2004 +0000
+++ b/net/bittorrent/Makefile   Tue Apr 27 03:43:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/03/29 23:39:42 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2004/04/27 03:43:54 snj Exp $
 #
 
 .include "Makefile.common"
@@ -13,5 +13,5 @@
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
-.include "../../devel/py-cursespanel/buildlink2.mk"
+.include "../../devel/py-cursespanel/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6b61c5c20ccb -r 2dda94e3376e net/bittorrent/Makefile.common
--- a/net/bittorrent/Makefile.common    Tue Apr 27 03:30:04 2004 +0000
+++ b/net/bittorrent/Makefile.common    Tue Apr 27 03:43:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2004/03/29 23:39:43 wiz Exp $
+# $NetBSD: Makefile.common,v 1.6 2004/04/27 03:43:54 snj Exp $
 #
 
 DISTNAME=      BitTorrent-3.4.1a
@@ -15,6 +15,6 @@
 FILESDIR=      ${.CURDIR}/../../net/bittorrent/files
 PATCHDIR=      ${.CURDIR}/../../net/bittorrent/patches
 
-USE_BUILDLINK2=        YES
+USE_BUILDLINK3=        YES
 
 PYTHON_VERSIONS_ACCEPTED=      23pth 22pth



Home | Main Index | Thread Index | Old Index