1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net/endlessh/Makefile
Gleb Popov 568cbbb8ad net/endlessh: Move manpages to share/man
Approved by:	portmgr (blanket)
2024-03-18 18:06:20 +03:00

35 lines
782 B
Makefile

PORTNAME= endlessh
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= brnrd@FreeBSD.org
COMMENT= SSH tarpit
WWW= https://github.com/skeeto/endlessh
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/UNLICENSE
USE_RC_SUBR= endlessh
USE_GITHUB= yes
GH_ACCOUNT= skeeto
PLIST_FILES= bin/endlessh \
share/man/man1/endlessh.1.gz \
"@sample ${PREFIX}/etc/endlessh.conf.sample" \
${PREFIX}/etc/endlessh.newsyslog.conf
SUB_FILES= pkg-message
post-patch:
${REINPLACE_CMD} 's|/etc/endlessh/config|${PREFIX}/etc/endlessh.conf|' \
${WRKSRC}/endlessh.c ${WRKSRC}/endlessh.1
post-install:
${INSTALL_DATA} ${FILESDIR}/endlessh.newsyslog.conf \
${FILESDIR}/endlessh.conf.sample ${STAGEDIR}${PREFIX}/etc/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/endlessh
.include <bsd.port.mk>