diff options
Diffstat (limited to 'dns/rbllookup-ng/Makefile')
-rw-r--r-- | dns/rbllookup-ng/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dns/rbllookup-ng/Makefile b/dns/rbllookup-ng/Makefile new file mode 100644 index 000000000000..a6934969d616 --- /dev/null +++ b/dns/rbllookup-ng/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: rbllookup-ng +# Date created: 2006-11-13 +# Whom: Edwin Groothuis <edwin@mavetju.org> +# +# $FreeBSD$ +# + +PORTNAME= rbllookup-ng +PORTVERSION= 1.0 +CATEGORIES= dns mail +MASTER_SITES= http://www.mavetju.org/download/ + +MAINTAINER= edwin@mavetju.org +COMMENT= Check given IP/Host presence in RBLs + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ + ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor + +NO_BUILD= yes +USE_PERL5= yes + +PLIST_FILES= bin/rbllookup bin/getmoensted etc/rbllookup.conf-sample +PORTDOCS= CHANGELOG INSTALL NOTES README TODO gpg.asc + +CONFLICTS= rbllookup-0.* + +post-patch: + ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/rbllookup.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/rbllookup.pl ${PREFIX}/bin/rbllookup + ${INSTALL_SCRIPT} ${WRKSRC}/getmoensted.pl ${PREFIX}/bin/getmoensted + ${INSTALL_DATA} ${WRKSRC}/rbllookup.conf ${PREFIX}/etc/rbllookup.conf-sample +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> |