freebsd-ports/security/sshguard/Makefile
Muhammad Moinur Rahman 644a7d9691
security/sshguard: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-25 14:24:23 +01:00

33 lines
773 B
Makefile

PORTNAME= sshguard
PORTVERSION= 2.4.3
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION}
MAINTAINER= kevinz5000@gmail.com
COMMENT= Protect hosts from brute-force attacks against SSH and other services
WWW= https://www.sshguard.net/
LICENSE= BSD2CLAUSE
USES= autoreconf
USE_RC_SUBR= sshguard
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|' \
${WRKSRC}/doc/sshguard.8.rst
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/examples/sshguard.conf.sample
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/examples/sshguard.conf.sample \
${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>