1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/security/hpenc/Makefile
Mark Linimon bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00

36 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= hpenc
PORTVERSION= 2.0
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://highsecure.ru/distfiles/
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Fast authenticated encryption CLI tool
LICENSE= BSD2CLAUSE
BROKEN_armv6= fails to build: fatal error: cpuid_flags.inc: No such file or directory
BROKEN_armv7= fails to build: fatal error: cpuid_flags.inc: No such file or directory
BROKEN_powerpc64= fails to build: fatal error: cpuid_flags.inc: No such file or directory
NOT_FOR_ARCHS= aarch64 sparc64
NOT_FOR_ARCHS_REASON= not yet ported to this architecture
USES= tar:xz compiler:c++11-lib gmake ssl
PLIST_FILES= bin/hpenc man/man1/hpenc.1.gz
MAKE_ARGS+= "ARCH=${ARCH:S/amd64/x86/:S/i386/x86/}"
CXXFLAGS+= -std=c++11 \
-I${WRKSRC}/chacha-opt/app/include \
-I${WRKSRC}/poly1305-opt/app/include \
-I${OPENSSLINC}
LDFLAGS+= -pthread -lcrypto -L${OPENSSLLIB}
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/hpenc.1 ${STAGEDIR}${MANPREFIX}/man/man1
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hpenc
.include <bsd.port.mk>