pkgsrc/x11/p5-Tk/Makefile
2022-06-28 11:30:51 +00:00

34 lines
865 B
Makefile

# $NetBSD: Makefile,v 1.100 2022/06/28 11:37:56 wiz Exp $
DISTNAME= Tk-804.035
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= x11 tk perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/}
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"