The file does not contain the word LOCALBASE. It does contain the path /usr/local twice though, but apparently no one cared. It might be a good idea to add /usr/local to the list of forbidden paths (see mk/check/check-wrkref.mk), but that would create a lot of work.
35 lines
885 B
Makefile
35 lines
885 B
Makefile
# $NetBSD: Makefile,v 1.96 2020/03/22 21:08:45 rillig Exp $
|
|
|
|
DISTNAME= Tk-804.034
|
|
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_LANGUAGES= c
|
|
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"
|