diff options
author | snj <snj@pkgsrc.org> | 2004-05-02 04:59:23 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-05-02 04:59:23 +0000 |
commit | b2b9b67bc98feac23022b3b9117b031015426f4d (patch) | |
tree | b757de06eb0d56c6dbdf4390a5c3d259e4842025 /x11/py-Pmw | |
parent | 29285cf4b7dd50f15fe0cea5d6cfc440a01b2753 (diff) | |
download | pkgsrc-b2b9b67bc98feac23022b3b9117b031015426f4d.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'x11/py-Pmw')
-rw-r--r-- | x11/py-Pmw/Makefile | 6 | ||||
-rw-r--r-- | x11/py-Pmw/buildlink3.mk | 20 |
2 files changed, 23 insertions, 3 deletions
diff --git a/x11/py-Pmw/Makefile b/x11/py-Pmw/Makefile index a85819c6a69..7a2969a056c 100644 --- a/x11/py-Pmw/Makefile +++ b/x11/py-Pmw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $ +# $NetBSD: Makefile,v 1.12 2004/05/02 05:23:21 snj Exp $ # DISTNAME= Pmw.0.8.5 @@ -13,7 +13,7 @@ COMMENT= Python meta widgets PLIST_SRC= ${WRKDIR}/.PLIST_SRC WRKSRC= ${WRKDIR}/Pmw -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES do-build: @@ -29,5 +29,5 @@ do-install: -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}) .include "../../lang/python/extension.mk" -.include "../../x11/py-Tk/buildlink2.mk" +.include "../../x11/py-Tk/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/py-Pmw/buildlink3.mk b/x11/py-Pmw/buildlink3.mk new file mode 100644 index 00000000000..530b072bc8d --- /dev/null +++ b/x11/py-Pmw/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/05/02 05:23:21 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_PMW_BUILDLINK3_MK:= ${PY_PMW_BUILDLINK3_MK}+ + +.include "../../lang/python/pyversion.mk" + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= pypmw +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npypmw} +BUILDLINK_PACKAGES+= pypmw + +.if !empty(PY_PMW_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.pypmw+= ${PYPKGPREFIX}-Pmw-[0-9]* +BUILDLINK_PKGSRCDIR.pypmw?= ../../x11/py-Pmw +.endif # PY_PMW_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |