Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/p5-Tk/Makefile 2005/02/19 21:47:14 1.41.2.1 +++ pkgsrc/x11/p5-Tk/Makefile 2020/09/07 20:58:27 1.98 @@ -1,30 +1,33 @@ -# $NetBSD: Makefile,v 1.41.2.1 2005/02/19 21:47:14 snj 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 -PKGREVISION= 2 +# $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 "../../graphics/jpeg/buildlink3.mk" +.include "../../mk/jpeg.buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk"