7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2014/05/29 23:37:07 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= Net-DHCP-0.693
|
|
PKGNAME= p5-${DISTNAME:S/693/69.3/}
|
|
PKGREVISION= 2
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Net-DHCP/
|
|
COMMENT= Object methods to create a DHCP packet
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
EGSUBDIR= share/examples/p5-Net-DHCP
|
|
INSTALLATION_DIRS+= ${EGSUBDIR}
|
|
|
|
EGFILES= examples/dhcp_sniffer.pl
|
|
EGFILES+= examples/dhcpd.pl
|
|
EGFILES+= examples/dhcpd_test.pl
|
|
EGFILES+= examples/dumpianatoxml.pl
|
|
EGFILES+= examples/l2tp-dhcp-inform
|
|
EGFILES+= examples/lease_query.pl
|
|
EGFILES+= examples/list_dho.pl
|
|
EGFILES+= examples/send_packet.pl
|
|
|
|
PERL5_REQD+= 5.8.0
|
|
PERL5_MODULE_TYPE= Module::Build
|
|
|
|
REPLACE_PERL+= ${EGFILES}
|
|
# has /bin/false as shebang argument
|
|
CHECK_INTERPRETER_SKIP+= ${PERL5_SUB_INSTALLVENDORLIB}/Net/DHCP/Constants.pm
|
|
CHECK_INTERPRETER_SKIP+= ${PERL5_SUB_INSTALLVENDORLIB}/Net/DHCP/Packet.pm
|
|
|
|
post-install:
|
|
.for i in ${EGFILES}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DESTDIR:Q}${PREFIX:Q}/${EGSUBDIR}
|
|
.endfor
|
|
|
|
PERL5_PACKLIST= auto/Net/DHCP/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|