1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/security/ssss/Makefile
Daniel Engberg 862511e578 security/ssss: Update to 0.5.7
Switch to fork which fixes a few issues and while at it tidy up Makefile

Changelog:
https://github.com/MrJoy/ssss/compare/releases/v0.5...releases/v0.5.7
2024-01-28 22:53:05 +01:00

37 lines
835 B
Makefile

PORTNAME= ssss
DISTVERSIONPREFIX= releases/v
DISTVERSION= 0.5.7
CATEGORIES= security
MAINTAINER= ports@FreeBSD.org
COMMENT= Shamir's Secret Sharing Scheme
WWW= http://point-at-infinity.org/ssss/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgmp.so:math/gmp
USES= localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= MrJoy
PLIST_FILES= bin/ssss-combine \
bin/ssss-split \
share/man/man1/ssss.1.gz
do-build:
cd ${BUILD_WRKSRC} && \
${CC} ${CFLAGS} ${LDFLAGS} -Wall -o ssss-split ssss.c -lgmp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ssss-split ${STAGEDIR}${PREFIX}/bin
${RLN} ${STAGEDIR}${PREFIX}/bin/ssss-split ${STAGEDIR}${PREFIX}/bin/ssss-combine
${INSTALL_MAN} ${WRKSRC}/ssss.1 ${STAGEDIR}${PREFIX}/share/man/man1
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ssss-split
.include <bsd.port.mk>