freebsd-ports/security/sha1collisiondetection/Makefile
Steve Wills 001939be42 security/sha1collisiondetection: update to 1.0.3
PR:		235444
Submitted by:	jharris@widomaker.com (maintainer)
2019-02-11 19:38:47 +00:00

40 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= sha1collisiondetection
PORTVERSION= 1.0.3
DISTVERSIONPREFIX= stable-v
CATEGORIES= security
MAINTAINER= jharris@widomaker.com
COMMENT= Library and command line tool to detect SHA-1 collisions
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_aarch64= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions]
BROKEN_armv6= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions]
BROKEN_armv7= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions]
USES= gmake libtool:build
USE_GITHUB= yes
GH_ACCOUNT= cr-marcstevens
USE_LDCONFIG= yes
PLIST_FILES= bin/sha1dcsum \
bin/sha1dcsum_partialcoll \
include/sha1dc/sha1.h \
lib/libsha1detectcoll.so \
lib/libsha1detectcoll.so.1 \
lib/libsha1detectcoll.so.1.0.0
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/.libs/sha1dcsum* ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/include/sha1dc
${INSTALL_DATA} ${WRKSRC}/lib/sha1.h ${STAGEDIR}${PREFIX}/include/sha1dc
${INSTALL_LIB} ${WRKSRC}/bin/.libs/libsha1detectcoll.so.1.0.0 ${STAGEDIR}${PREFIX}/lib
${LN} -sf libsha1detectcoll.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libsha1detectcoll.so
${LN} -sf libsha1detectcoll.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libsha1detectcoll.so.1
.include <bsd.port.mk>