1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/net/endlessh/Makefile

34 lines
795 B
Makefile
Raw Normal View History

2019-11-03 18:02:20 +00:00
PORTNAME= endlessh
2020-02-04 12:56:24 +00:00
PORTVERSION= 1.1
2019-11-03 18:02:20 +00:00
CATEGORIES= net
MAINTAINER= brnrd@FreeBSD.org
COMMENT= SSH tarpit
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/UNLICENSE
USE_RC_SUBR= endlessh
USE_GITHUB= yes
GH_ACCOUNT= skeeto
PLIST_FILES= bin/endlessh \
man/man1/endlessh.1.gz \
"@sample ${PREFIX}/etc/endlessh.conf.sample" \
${PREFIX}/etc/endlessh.newsyslog.conf
SUB_FILES= pkg-message
2019-11-03 18:02:20 +00:00
post-patch:
${REINPLACE_CMD} 's|share/man|man|;s|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
${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} ${STAGEDIR}${PREFIX}/bin/endlessh
2019-11-03 18:02:20 +00:00
.include <bsd.port.mk>