1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/security/hpenc/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

35 lines
962 B
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_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>