Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/p5-Tk/Makefile 1998/01/25 00:07:17 1.3 +++ pkgsrc/x11/p5-Tk/Makefile 2020/09/07 20:58:27 1.98 @@ -1,44 +1,33 @@ -# New ports collection makefile for: p5-Tk -# Version required: 402.002 -# Date created: October 21st 1996 -# Whom: James FitzGibbon -# -# $NetBSD: Makefile,v 1.3 1998/01/25 00:07:17 hubertf Exp $ -# FreeBSD Id: Makefile,v 1.14 1997/09/14 04:00:00 jfitz Exp -# - -DISTNAME= Tk402.002 -PKGNAME= p5-Tk-402.002 -CATEGORIES= x11 tk80 perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Tk - -MAINTAINER= jfitz@FreeBSD.ORG - -BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/HTML/Parse.pm:${PORTSDIR}/www/p5-libwww -LIB_DEPENDS= tk80\\.1\\.:${PORTSDIR}/x11/tk80 - -USE_PERL5= YES - -MAN1= tkweb.1 -MAN3= Bundle::Tk.3 Tk::Adjuster.3 Tk::After.3 \ - Tk::Axis.3 Tk::Balloon.3 Tk::BrowseEntry.3 \ - Tk::CmdLine.3 Tk::ColorEditor.3 Tk::Derived.3 \ - Tk::Dial.3 Tk::DialogBox.3 \ - Tk::DragDrop::Common.3 Tk::DragDrop::SunConst.3 \ - Tk::FileDialog.3 Tk::FileSelect.3 Tk::Font.3 \ - Tk::Ghostscript.3 Tk::HTML::IO.3 Tk::IO.3 \ - Tk::Internals.3 Tk::LabFrame.3 \ - Tk::Menu::Item.3 Tk::NoteBook.3 Tk::OlWm.3 \ - Tk::Parse.3 Tk::ROText.3 Tk::Scrolled.3 \ - Tk::Submethods.3 Tk::Table.3 Tk::Tcl-perl.3 \ - Tk::TextUndo.3 Tk::TiedListbox.3 \ - Tk::UserGuide.3 Tk::WaitBox.3 Tk::X.3 \ - Tk::Xrm.3 Tk::demos::widget_lib::WidgetDemo.3 \ - Tk::pTk.3 Tk::widgets.3 blib.3 -MAN3PREFIX= ${PREFIX}/lib/perl5 +# $NetBSD: Makefile,v 1.98 2020/09/07 20:58:27 wiz Exp $ -do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL +DISTNAME= Tk-804.035 +PKGNAME= p5-${DISTNAME} +CATEGORIES= x11 tk perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/} -.include +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://metacpan.org/release/Tk +COMMENT= Perl5 interface to Tk + +MAKE_JOBS_SAFE= no + +BUILD_DEPENDS+= p5-HTML-Parser>=3.19:../../www/p5-HTML-Parser + +USE_TOOLS+= pkg-config +PERL5_PACKLIST= auto/Tk/.packlist + +MAKE_PARAMS= X11=${X11BASE} + +REPLACE_PERL+= TextList/reindex.pl +REPLACE_PERL+= pTk/Tcl-pTk +REPLACE_PERL+= pTk/mkVFunc +REPLACE_PERL+= demos/widget + +pre-configure: + ${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f + +.include "../../lang/perl5/module.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../mk/jpeg.buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../mk/bsd.pkg.mk"