Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/p5-Tk/Makefile 2004/05/09 05:30:44 1.40 +++ pkgsrc/x11/p5-Tk/Makefile 2020/09/07 20:58:27 1.98 @@ -1,27 +1,33 @@ -# $NetBSD: Makefile,v 1.40 2004/05/09 05:30:44 minskim Exp $ -# FreeBSD Id: Makefile,v 1.14 1997/09/14 04:00:00 jfitz Exp -# - -DISTNAME= Tk-804.027 -PKGNAME= p5-Tk-804.027 -SVR4_PKGNAME= p5tk +# $NetBSD: Makefile,v 1.98 2020/09/07 20:58:27 wiz Exp $ + +DISTNAME= Tk-804.035 +PKGNAME= p5-${DISTNAME} CATEGORIES= x11 tk perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/} -MAINTAINER= shell@NetBSD.org -HOMEPAGE= http://cpan.uwinnipeg.ca/htdocs/Tk/Tk.html +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://metacpan.org/release/Tk COMMENT= Perl5 interface to Tk -BUILD_DEPENDS= p5-HTML-Parser>=3.19:../../www/p5-HTML-Parser +MAKE_JOBS_SAFE= no -PKG_INSTALLATION_TYPES= overwrite pkgviews +BUILD_DEPENDS+= p5-HTML-Parser>=3.19:../../www/p5-HTML-Parser -USE_BUILDLINK3= YES -USE_X11= YES -PERL5_REQD= 5.8 -PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Tk/.packlist +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"