File:  [cvs.NetBSD.org] / pkgsrc / net / p5-Net-DHCP / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Tue Oct 23 17:18:47 2012 UTC (12 years, 1 month ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.3 2012/10/23 17:18:47 asau Exp $
#

DISTNAME=	Net-DHCP-0.67
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	1
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 examples/dhcpd.pl examples/dhcpd_test.pl
EGFILES+=	examples/lease_query.pl examples/send_packet.pl

REPLACE_PERL+=	${EGFILES}

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"

CVSweb <webmaster@jp.NetBSD.org>