ae2d2d0b04
PR: ports/88781 Submitted by: Janos Mohacsi <janos.mohacsi.at.bsd.hu>
38 lines
841 B
Makefile
38 lines
841 B
Makefile
# New ports collection makefile for: denyhosts
|
|
# Date created: 04 November 2005
|
|
# Whom: Janos Mohacsi <janos.mohacsi@bsd.hu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= denyhosts
|
|
PORTVERSION= 1.1.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_REINPLACE= yes
|
|
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
|
|
|
|
.include <bsd.port.mk>
|