pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/p5-Tk Initial addition of buildlink2.mk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e80598f9b87
branches:  trunk
changeset: 461460:9e80598f9b87
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Sep 16 15:45:14 2003 +0000

description:
Initial addition of buildlink2.mk.

diffstat:

 x11/p5-Tk/buildlink2.mk |  28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diffs (32 lines):

diff -r df7cfe5704b9 -r 9e80598f9b87 x11/p5-Tk/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/p5-Tk/buildlink2.mk   Tue Sep 16 15:45:14 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index