diff options
author | jmmv <jmmv> | 2003-09-16 15:45:14 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-09-16 15:45:14 +0000 |
commit | 1bfee43d5b525b2b4ce246e431be532d860021a4 (patch) | |
tree | b83684f1e0b80218278a6c24d6dd0210e27d5ae7 | |
parent | b0f34145e3160635a0faa411f8d33050a79d2357 (diff) | |
download | pkgsrc-1bfee43d5b525b2b4ce246e431be532d860021a4.tar.gz |
Initial addition of buildlink2.mk.
-rw-r--r-- | x11/p5-Tk/buildlink2.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/x11/p5-Tk/buildlink2.mk b/x11/p5-Tk/buildlink2.mk new file mode 100644 index 00000000000..ce3a96c6f7d --- /dev/null +++ b/x11/p5-Tk/buildlink2.mk @@ -0,0 +1,28 @@ +# $NetBSD: buildlink2.mk,v 1.1 2003/09/16 15:45:14 jmmv Exp $ + +.if !defined(P5_TK_BUILDLINK2_MK) +P5_TK_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= p5-Tk +BUILDLINK_DEPENDS.p5-Tk?= p5-Tk>=800.024 +BUILDLINK_PKGSRCDIR.p5-Tk?= ../../x11/p5-Tk + +.include "../../lang/perl5/buildlink2.mk" + +BUILDLINK_PREFIX.p5-Tk= ${BUILDLINK_PREFIX.perl} +BUILDLINK_FILES.p5-Tk= \ + ${PERL5_SITEARCH:S/^${BUILDLINK_PREFIX.perl}\///}/Tie/* \ + ${PERL5_SITEARCH:S/^${BUILDLINK_PREFIX.perl}\///}/Tk/* \ + ${PERL5_SITEARCH:S/^${BUILDLINK_PREFIX.perl}\///}/Tk/*/* \ + ${PERL5_SITEARCH:S/^${BUILDLINK_PREFIX.perl}\///}/Tk/*/*/* \ + ${PERL5_SITEARCH:S/^${BUILDLINK_PREFIX.perl}\///}/Tk/*/*/* \ + ${PERL5_SITEARCH:S/^${BUILDLINK_PREFIX.perl}\///}/auto/Tk/* \ + ${PERL5_SITEARCH:S/^${BUILDLINK_PREFIX.perl}\///}/auto/Tk/*/* + +BUILDLINK_CPPFLAGS.p5-Tk= -I${PERL5_SITEARCH}/Tk/pTk + +BUILDLINK_TARGETS+= p5-Tk-buildlink + +p5-Tk-buildlink: _BUILDLINK_USE + +.endif # P5_TK_BUILDLINK2_MK |