mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
49c8294c4b
- Drop old OpenBSD 6.2 key
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= signify
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.7
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
|
COMMENT= Create and verify cryptographic signatures
|
|
|
|
# outils includes signify from OpenBSD's base system which is under an
|
|
# ISC license. The parts of liboutils that signify uses are licensed
|
|
# under ISCL/BSD3/BSD4.
|
|
LICENSE= ISCL BSD4CLAUSE BSD3CLAUSE
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= chneukirchen
|
|
GH_PROJECT= outils
|
|
|
|
ALL_TARGET= src/usr.bin/signify/signify
|
|
|
|
post-patch:
|
|
# The sys/* overrides are not needed on FreeBSD
|
|
@${RM} ${WRKSRC}/src/liboutils/include/sys/*
|
|
# Replace /etc/signify paths in man page and signify's safe path to
|
|
# point to /usr/local/etc/signify
|
|
@${REINPLACE_CMD} 's|/etc/signify|${ETCDIR}|g' \
|
|
${WRKSRC}/src/usr.bin/signify/signify.c \
|
|
${WRKSRC}/src/usr.bin/signify/signify.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/usr.bin/signify/signify \
|
|
${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/src/usr.bin/signify/signify.1 \
|
|
${STAGEDIR}${PREFIX}/man/man1
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/openbsd-*.pub \
|
|
${STAGEDIR}${ETCDIR}
|
|
|
|
.include <bsd.port.mk>
|