1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/sshblock/Makefile
Andrej Zverev 7edda98feb - convert to the new perl5 framework
- trim Makefile header

Approved by:	portmgr (bapt@, blanket)
2013-09-11 18:03:40 +00:00

40 lines
832 B
Makefile

# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$
PORTNAME= sshblock
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.bsdconsulting.no/tools/
EXTRACT_SUFX= .pl
MAINTAINER= anders@FreeBSD.org
COMMENT= Block abusive SSH login attempts
RUN_DEPENDS= p5-File-Tail>=0:${PORTSDIR}/devel/p5-File-Tail
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= sbin/sshblock
USES= perl5
USE_RC_SUBR= sshblock
SUB_LIST= PERL=${PERL}
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
SUB_FILES+= pkg-message
#SUB_FILES= sshblock.sh
do-patch:
@${REINPLACE_CMD} -e "s@/usr/bin/perl@${PERL}@" \
${WRKSRC}/sshblock-${PORTVERSION}.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sshblock-${PORTVERSION}.pl \
${PREFIX}/sbin/sshblock
post-install:
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>