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/04/22 14:22:49 1.7 +++ pkgsrc/x11/p5-Tk/Makefile 2020/09/07 20:58:27 1.98 @@ -1,39 +1,33 @@ -# $NetBSD: Makefile,v 1.7 1998/04/22 14:22:49 agc 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= packages@netbsd.org - -BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/HTML/Parse.pm:${PORTSDIR}/www/p5-libwww -DEPENDS+= tk-8.0p2:../../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/} +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"