1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/dns/rbllookup-ng/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= rbllookup-ng
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= dns mail
MASTER_SITES= http://www.mavetju.org/download/
MAINTAINER= edwin@mavetju.org
COMMENT= Check given IP/Host presence in RBLs
BUILD_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS \
p5-Term-ANSIColor>=0:devel/p5-Term-ANSIColor
NO_BUILD= yes
USES= perl5 shebangfix
PLIST_FILES= bin/rbllookup bin/getmoensted "@sample etc/rbllookup.conf.sample"
PORTDOCS= CHANGELOG INSTALL NOTES README TODO gpg.asc
SHEBANG_FILES= rbllookup.pl getmoensted.pl
CONFLICTS= rbllookup-0.*
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
${WRKSRC}/rbllookup.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rbllookup.pl \
${STAGEDIR}${PREFIX}/bin/rbllookup
${INSTALL_SCRIPT} ${WRKSRC}/getmoensted.pl \
${STAGEDIR}${PREFIX}/bin/getmoensted
${INSTALL_DATA} ${WRKSRC}/rbllookup.conf \
${STAGEDIR}${PREFIX}/etc/rbllookup.conf.sample
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>