aboutsummaryrefslogtreecommitdiff
path: root/security/denyhosts/Makefile
blob: 12f29dbad048de6efabc8c2773182d687ff0cab3 (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
32
33
34
35
36
37
38
# New ports collection makefile for:    denyhosts
# Date created:         		04 November 2005
# Whom:                 		Janos Mohacsi <janos.mohacsi@bsd.hu>
#
# $FreeBSD$
#

PORTNAME=	denyhosts
PORTVERSION=	2.2
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	DenyHosts-${PORTVERSION}

MAINTAINER=	janos.mohacsi@bsd.hu
COMMENT=	Script to thwart ssh attacks

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

DOC_FILES=	CHANGELOG.txt LICENSE.txt README.txt

pre-configure:
	${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
		${WRKSRC}/daemon-control-dist \
		${WRKSRC}/denyhosts.cfg-dist \
		${WRKSRC}/setup.py

post-install:
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
	 @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>