diff options
author | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
commit | 0d6c711ce586532632e1ae1b985d86085faa4580 (patch) | |
tree | 7815453a8a5d5cc91288c15c8c52893726b1e2bc /x11/tk | |
parent | 7c4feed9a8d4596547ef84ababb069e65e478323 (diff) | |
download | pkgsrc-0d6c711ce586532632e1ae1b985d86085faa4580.tar.gz |
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'x11/tk')
-rw-r--r-- | x11/tk/buildlink3.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/tk/buildlink3.mk b/x11/tk/buildlink3.mk new file mode 100644 index 00000000000..873256e5c51 --- /dev/null +++ b/x11/tk/buildlink3.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:45 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +TK_BUILDLINK3_MK:= ${TK_BUILDLINK3_MK}+ + +.if !empty(TK_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.tk?= tk>=8.3.4 +BUILDLINK_PKGSRCDIR.tk?= ../../x11/tk +.endif # TK_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= tk +.endif + +.if !empty(TK_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= tk +BUILDLINK_FILES.tk= bin/wish* +# +# Make "-ltk" resolve into "-ltk83", so that we don't need to patch so +# many Makefiles. +# +BUILDLINK_TRANSFORM+= l:tk:tk83 + +USE_X11= YES +TKCONFIG_SH?= ${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh + +. include "../../lang/tcl/buildlink3.mk" +.endif # TK_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} |