Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/p5-Tk/Makefile 2007/05/17 20:37:00 1.55 +++ pkgsrc/x11/p5-Tk/Makefile 2013/05/31 12:42:57 1.80 @@ -1,22 +1,23 @@ -# $NetBSD: Makefile,v 1.55 2007/05/17 20:37:00 gdt Exp $ +# $NetBSD: Makefile,v 1.80 2013/05/31 12:42:57 wiz Exp $ -DISTNAME= Tk-804.027 -PKGNAME= p5-Tk-804.027 -PKGREVISION= 6 +DISTNAME= Tk-804.030 +PKGNAME= p5-${DISTNAME} +PKGREVISION= 4 SVR4_PKGNAME= p5tk CATEGORIES= x11 tk perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/} -MAINTAINER= shell@NetBSD.org +MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://cpan.uwinnipeg.ca/htdocs/Tk/Tk.html COMMENT= Perl5 interface to Tk +PKG_INSTALLATION_TYPES= overwrite pkgviews + MAKE_JOBS_SAFE= no BUILD_DEPENDS+= p5-HTML-Parser>=3.19:../../www/p5-HTML-Parser -PKG_INSTALLATION_TYPES= overwrite pkgviews - +USE_LANGUAGES= c PERL5_PACKLIST= auto/Tk/.packlist MAKE_PARAMS= X11=${X11BASE} @@ -24,14 +25,18 @@ MAKE_PARAMS= X11=${X11BASE} REPLACE_PERL+= TextList/reindex.pl REPLACE_PERL+= pTk/Tcl-pTk REPLACE_PERL+= pTk/mkVFunc +REPLACE_PERL+= demos/widget SUBST_CLASSES+= prefix SUBST_STAGE.prefix= post-patch SUBST_FILES.prefix= PNG/Makefile.PL SUBST_SED.prefix= -e 's,%%LOCALBASE%%,${LOCALBASE},g' +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"