[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / p5-Net-DHCP

File: [cvs.NetBSD.org] / pkgsrc / net / p5-Net-DHCP / Makefile (download)

Revision 1.11, Fri Jul 15 00:57:35 2016 UTC (3 years, 10 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.10: +3 -4 lines

Update to 0.696

Upstream changes:
0.696  2015-06-10
	- Fixed up dist.ini
	- YAPC::NA release

0.695  2014-12-02
	- Corrected github details

0.694  2014-08-27

	- Fix for RT89267
	- Added github details
	- Some minor code style changes

# $NetBSD: Makefile,v 1.11 2016/07/15 00:57:35 wen Exp $
#

DISTNAME=	Net-DHCP-0.696
PKGNAME=	p5-${DISTNAME:S/696/69.6/}
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"