1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/security/sha1collisiondetection/Makefile
Mark Linimon 8416961f94 Mark some ports failing on armv6, for errors classified as "clang_werror".
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-05-27 16:00:49 +00:00

39 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= sha1collisiondetection
PORTVERSION= 1.0.2
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_armv6= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions]
BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option -std=c90
USE_GITHUB= yes
GH_ACCOUNT= cr-marcstevens
USE_LDCONFIG= yes
USES= gmake libtool:build
PLIST_FILES= bin/sha1dcsum \
bin/sha1dcsum_partialcoll \
include/sha1dc/sha1.h \
lib/libsha1detectcoll.so \
lib/libsha1detectcoll.so.0 \
lib/libsha1detectcoll.so.0.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.0.0.0 ${STAGEDIR}${PREFIX}/lib
${LN} -sf libsha1detectcoll.so.0.0.0 ${STAGEDIR}${PREFIX}/lib/libsha1detectcoll.so
${LN} -sf libsha1detectcoll.so.0.0.0 ${STAGEDIR}${PREFIX}/lib/libsha1detectcoll.so.0
.include <bsd.port.mk>