1 # $NetBSD: Makefile,v 1.78 2013/02/02 18:10:41 dholland Exp $
4 PKGNAME
= p5-
${DISTNAME}
7 CATEGORIES
= x11 tk perl5
8 MASTER_SITES
= ${MASTER_SITE_PERL_CPAN
:=Tk
/}
10 MAINTAINER
= pkgsrc-users@NetBSD.org
11 HOMEPAGE
= http
://cpan.uwinnipeg.ca
/htdocs
/Tk
/Tk.html
12 COMMENT
= Perl5 interface to Tk
14 PKG_INSTALLATION_TYPES
= overwrite pkgviews
18 BUILD_DEPENDS
+= p5-HTML-Parser
>=3.19:..
/..
/www
/p5-HTML-Parser
21 PERL5_PACKLIST
= auto
/Tk
/.packlist
23 MAKE_PARAMS
= X11
=${X11BASE}
25 REPLACE_PERL
+= TextList
/reindex.pl
26 REPLACE_PERL
+= pTk
/Tcl-pTk
27 REPLACE_PERL
+= pTk
/mkVFunc
28 REPLACE_PERL
+= demos
/widget
30 SUBST_CLASSES
+= prefix
31 SUBST_STAGE.
prefix= post-patch
32 SUBST_FILES.
prefix= PNG
/Makefile.PL
33 SUBST_SED.
prefix= -e
's,%%LOCALBASE%%,${LOCALBASE},g'
36 ${FIND} ${WRKSRC} -name
"*.orig" -type f |
${XARGS} ${RM} -f
38 .
include "../../lang/perl5/module.mk"
39 .
include "../../graphics/png/buildlink3.mk"
40 .
include "../../mk/jpeg.buildlink3.mk"
41 .
include "../../x11/libX11/buildlink3.mk"
42 .
include "../../mk/bsd.pkg.mk"