1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/security/keyprint/Makefile
Tobias Kortkamp 3c6c4b3bee security/keyprint: Add OPIE support to fix functionality
Since the opieprint port has been removed, and since the S/Key
utilities are no longer included with FreeBSD, it makes sense to
patch this port to make it functional once again - and there is
nothing gained by leaving it unusable.

PR:		32936, 71089, 219177
Submitted by:	crahman@gmail.com
2018-08-21 16:25:42 +00:00

36 lines
768 B
Makefile

# Created by: mharo@FreeBSD.org
# $FreeBSD$
PORTNAME= keyprint
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= LOCAL/mharo
MAINTAINER= ports@FreeBSD.org
COMMENT= Print S/Key keys on a piece of paper, twice the size of a credit card
USES= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= keyprint
NO_BUILD= yes
NO_ARCH= yes
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,__PREFIX__,${PREFIX},' ${WRKSRC}/keyprint
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keyprint ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/keyblank.ps ${STAGEDIR}${DATADIR}
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>