freebsd-ports/dns/p5-Net-DNS-Resolver-Programmable/Makefile
Sunpoet Po-Chuan Hsieh d8f642e40f - Fix *_DEPENDS: version is already in all supported Perl releases
- Convert to new options framework
- Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk
- Bump PORTREVISION for dependency change

PR:		ports/182967
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 17 days)
2013-10-31 16:09:04 +00:00

34 lines
777 B
Makefile

# Created by: Koen Martens <gmc@sonologic.nl>
# $FreeBSD$
PORTNAME= Net-DNS-Resolver-Programmable
PORTVERSION= 0.003
PORTREVISION= 1
CATEGORIES= dns net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= gmc@sonologic.nl
COMMENT= Programmable DNS resolver for off-line testing
BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_STAGE= yes
USES= perl5
USE_PERL5= modbuild
MAN3= Net::DNS::Resolver::Programmable.3
PORTDOCS= CHANGES README TODO
DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS-Resolver-Programmable
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>