aboutsummaryrefslogtreecommitdiffstats
path: root/dns/rbllookup/Makefile
blob: 19bb5799583d8650056e22d01f7d659e8ab06dcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Marcin Gondek <drixter@e-utp.net>
# $FreeBSD$

PORTNAME=   rbllookup
PORTVERSION=    0.0.1.1
PORTREVISION=   1
CATEGORIES= dns mail
MASTER_SITES=   SF

MAINTAINER= drixter@e-utp.net
COMMENT=    Check given IP/Host presence in 106 RBLs

BUILD_DEPENDS=  p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
        p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor

USES=       perl5 shebangfix
SHEBANG_FILES=  rbl.pl
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

PLIST_FILES=    bin/rbllookup
PORTDOCS=   CHANGELOG INSTALL NOTES README TODO gpg.asc

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/rbl.pl ${STAGEDIR}${PREFIX}/bin/rbllookup
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>