openbsd-ports/net/gotthard/Makefile

31 lines
713 B
Makefile

# $OpenBSD: Makefile,v 1.8 2019/07/12 20:48:27 sthen Exp $
COMMENT= ssh through https proxy tunnel
DISTNAME= gotthard-1.3
CATEGORIES= net
MASTER_SITES= http://www.nazgul.ch/dev/
HOMEPAGE= http://www.nazgul.ch/dev.html
MAINTAINER= Marcus Glocker <marcus@nazgul.ch>
# BSD
PERMIT_PACKAGE= Yes
WANTLIB= c
NO_TEST= Yes
post-extract:
@perl -pi -e 's,gotthard.conf,${SYSCONFDIR}/gotthard.conf,g' \
${WRKDIST}/gotthard.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gotthard ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gotthard.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gotthard
${INSTALL_DATA} ${WRKSRC}/gotthard.conf \
${PREFIX}/share/examples/gotthard
.include <bsd.port.mk>