Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/x11/p5-Tk/Makefile 1999/04/15 20:39:48 1.12 +++ pkgsrc/x11/p5-Tk/Makefile 2013/05/31 12:42:57 1.80 @@ -1,21 +1,42 @@ -# $NetBSD: Makefile,v 1.12 1999/04/15 20:39:48 tron Exp $ -# FreeBSD Id: Makefile,v 1.14 1997/09/14 04:00:00 jfitz Exp -# +# $NetBSD: Makefile,v 1.80 2013/05/31 12:42:57 wiz Exp $ -DISTNAME= Tk402.002 -PKGNAME= p5-Tk-402.002 -CATEGORIES= x11 tk80 perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/} +DISTNAME= Tk-804.030 +PKGNAME= p5-${DISTNAME} +PKGREVISION= 4 +SVR4_PKGNAME= p5tk +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 +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://cpan.uwinnipeg.ca/htdocs/Tk/Tk.html +COMMENT= Perl5 interface to Tk -BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/HTML/Parse.pm:../../www/p5-libwww -DEPENDS+= tk-8.0.5:../../x11/tk80 +PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_PERL5= YES +MAKE_JOBS_SAFE= no -do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL +BUILD_DEPENDS+= p5-HTML-Parser>=3.19:../../www/p5-HTML-Parser +USE_LANGUAGES= c +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 + +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 "../../mk/jpeg.buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk"