summaryrefslogtreecommitdiff
path: root/x11/p5-Tk/buildlink2.mk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-09-16 15:45:14 +0000
committerjmmv <jmmv@pkgsrc.org>2003-09-16 15:45:14 +0000
commit94d9c207f745e165d3b46ed6dbb594435755f50a (patch)
treeb83684f1e0b80218278a6c24d6dd0210e27d5ae7 /x11/p5-Tk/buildlink2.mk
parent34c8c65233759580663d14f8bb8ce18c2a4b7e5e (diff)
downloadpkgsrc-94d9c207f745e165d3b46ed6dbb594435755f50a.tar.gz
Initial addition of buildlink2.mk.
Diffstat (limited to 'x11/p5-Tk/buildlink2.mk')
-rw-r--r--x11/p5-Tk/buildlink2.mk28
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