kmos e11cb760bb On sparc64 (and presumably other base-gcc arches), ports-gcc needs to
be used to build spiped successfully.

ok jturner@ (maintainer)
2020-04-26 00:29:16 +00:00

33 lines
889 B
Makefile

# $OpenBSD: Makefile,v 1.15 2020/04/26 00:29:16 kmos Exp $
COMMENT = utility for creating secure pipes between socket addresses
DISTNAME = spiped-1.6.1
CATEGORIES = security sysutils
MAINTAINER = James Turner <james@calminferno.net>
HOMEPAGE = http://www.tarsnap.com/spiped.html
MASTER_SITES = http://www.tarsnap.com/spiped/
# BSD
PERMIT_PACKAGE = Yes
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
WANTLIB = c crypto pthread
EXTRACT_SUFX = .tgz
FAKE_FLAGS = BINDIR="${WRKINST}${PREFIX}/bin" \
MAN1DIR="${WRKINST}${PREFIX}/man/man1"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spiped
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/spiped/
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/spiped/
perl -pi -e 's,/etc/ssh/spiped.key,${SYSCONFDIR}/spiped/spiped.key,' \
${PREFIX}/share/doc/spiped/README.md
.include <bsd.port.mk>