diff options
author | minskim <minskim@pkgsrc.org> | 2004-02-14 18:04:39 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-02-14 18:04:39 +0000 |
commit | 9108d4ec6c183cc820b06a2eb77123a9650b7375 (patch) | |
tree | 792f68bc42d2b0e05f7119a440b77f7a062e43c8 | |
parent | ae57b368df84b886d9b56719fe0de8bff29cc204 (diff) | |
download | pkgsrc-9108d4ec6c183cc820b06a2eb77123a9650b7375.tar.gz |
bl3ify
-rw-r--r-- | textproc/gtkspell/Makefile | 10 | ||||
-rw-r--r-- | textproc/gtkspell/buildlink3.mk | 23 |
2 files changed, 28 insertions, 5 deletions
diff --git a/textproc/gtkspell/Makefile b/textproc/gtkspell/Makefile index 91922d0cc7f..8f3902160a2 100644 --- a/textproc/gtkspell/Makefile +++ b/textproc/gtkspell/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2004/02/14 17:21:53 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2004/02/14 18:04:39 minskim Exp $ # DISTNAME= gtkspell-2.0.5 @@ -10,7 +10,7 @@ HOMEPAGE= http://gtkspell.sourceforge.net/ COMMENT= Spell checking GtkTextView widget GNU_CONFIGURE= YES -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_X11= YES USE_LIBTOOL= YES PKGCONFIG_OVERRIDE= ${WRKSRC}/gtkspell-2.0.pc.in @@ -21,7 +21,7 @@ SUBST_STAGE.subdir= post-patch SUBST_FILES.subdir= Makefile.in SUBST_SED.subdir= -e 's|SUBDIRS = gtkspell examples docs|SUBDIRS = gtkspell|' -.include "../../textproc/aspell/buildlink2.mk" -.include "../../devel/pkgconfig/buildlink2.mk" -.include "../../x11/gtk2/buildlink2.mk" +.include "../../textproc/aspell/buildlink3.mk" +.include "../../devel/pkgconfig/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/gtkspell/buildlink3.mk b/textproc/gtkspell/buildlink3.mk new file mode 100644 index 00000000000..35266fd4a19 --- /dev/null +++ b/textproc/gtkspell/buildlink3.mk @@ -0,0 +1,23 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/14 18:04:39 minskim Exp $ +# +# This Makefile fragment is included by packages that use gtkspell. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GTKSPELL_BUILDLINK3_MK:= ${GTKSPELL_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= gtkspell +.endif + +.if !empty(GTKSPELL_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= gtkspell +BUILDLINK_DEPENDS.gtkspell+= gtkspell>=2.0.2nb6 +BUILDLINK_PKGSRCDIR.gtkspell?= ../../textproc/gtkspell + +.include "../../textproc/aspell/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +.endif # GTKSPELL_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |