mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
862511e578
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
37 lines
835 B
Makefile
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>
|