diff options
author | snj <snj@pkgsrc.org> | 2004-04-11 22:47:15 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-11 22:47:15 +0000 |
commit | c73778fadde69b40dfefdb76d205a9003fe1b071 (patch) | |
tree | 84af4e63971ab71a7fbb2a75f263f0ac2fd38e6d /x11/qt2-designer | |
parent | 419ff1184413abca4ae0f60820c2ba6217eb0b94 (diff) | |
download | pkgsrc-c73778fadde69b40dfefdb76d205a9003fe1b071.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'x11/qt2-designer')
-rw-r--r-- | x11/qt2-designer/Makefile | 6 | ||||
-rw-r--r-- | x11/qt2-designer/buildlink3.mk | 20 |
2 files changed, 23 insertions, 3 deletions
diff --git a/x11/qt2-designer/Makefile b/x11/qt2-designer/Makefile index 604802f52c7..3b0993e06dc 100644 --- a/x11/qt2-designer/Makefile +++ b/x11/qt2-designer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/02/08 03:00:29 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2004/04/11 22:47:15 snj Exp $ PKGNAME= qt2-designer-${QTVERSION} PKGREVISION= 2 @@ -6,7 +6,7 @@ COMMENT= Visual (WYSIWYG) QT GUI builder CONFLICTS+= qt2-designer-kde-[0-9]* -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes .include "../qt2-libs/Makefile.common" @@ -20,6 +20,6 @@ do-install: ${LIBTOOL} ${INSTALL_PROGRAM} \ ${WRKSRC}/tools/designer/designer/designer ${QTPREFIX}/bin -.include "../../x11/qt2-libs/buildlink2.mk" +.include "../../x11/qt2-libs/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/qt2-designer/buildlink3.mk b/x11/qt2-designer/buildlink3.mk new file mode 100644 index 00000000000..b9611c97090 --- /dev/null +++ b/x11/qt2-designer/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 22:47:15 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +QT2_DESIGNER_BUILDLINK3_MK:= ${QT2_DESIGNER_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= qt2-designer +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt2-designer} +BUILDLINK_PACKAGES+= qt2-designer + +.if !empty(QT2_DESIGNER_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.qt2-designer+= qt2-designer>=2.3.1nb2 +BUILDLINK_PKGSRCDIR.qt2-designer?= ../../x11/qt2-designer +.endif # QT2_DESIGNER_BUILDLINK3_MK + +.include "../../x11/qt2-libs/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |