Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/p5-Tk/Makefile 2001/06/08 20:34:16 1.21 +++ pkgsrc/x11/p5-Tk/Makefile 2020/09/07 20:58:27 1.98 @@ -1,26 +1,33 @@ -# $NetBSD: Makefile,v 1.21 2001/06/08 20:34:16 tron Exp $ -# FreeBSD Id: Makefile,v 1.14 1997/09/14 04:00:00 jfitz Exp -# - -DISTNAME= Tk800.022 -PKGNAME= p5-Tk-800.022 -CATEGORIES= x11 tk perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/} - -MAINTAINER= packages@netbsd.org -HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Tk/pod/overview.html -COMMENT= perl5 interface to Tk-8.0.5 - -BUILD_DEPENDS= p5-HTML-Parser>=3.19:../../www/p5-HTML-Parser -DEPENDS+= tk>=8.3.2:../../x11/tk - -USE_X11= # defined -USE_PERL5= # defined -PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Tk/.packlist +# $NetBSD: Makefile,v 1.98 2020/09/07 20:58:27 wiz Exp $ -MAKE_PARAMS= X11=${X11BASE} +DISTNAME= Tk-804.035 +PKGNAME= p5-${DISTNAME} +CATEGORIES= x11 tk perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/} -do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS} +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"