git: 943dba8675cc - main - sysutils/b2sum: Install manpage and enable OPENMP on some architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jun 2024 18:23:48 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=943dba8675cc9649293c932eaed5bbb4e4562660
commit 943dba8675cc9649293c932eaed5bbb4e4562660
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-06 18:22:35 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-06 18:22:35 +0000
sysutils/b2sum: Install manpage and enable OPENMP on some architectures
- Bump PORTREVISION for package change
PR: 279558
Requested by: fuz
---
sysutils/b2sum/Makefile | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/sysutils/b2sum/Makefile b/sysutils/b2sum/Makefile
index b3408ec601ae..95252b7d90e5 100644
--- a/sysutils/b2sum/Makefile
+++ b/sysutils/b2sum/Makefile
@@ -1,11 +1,12 @@
PORTNAME= b2sum
PORTVERSION= 20190724
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils security
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fast secure hashing
-WWW= https://blake2.net/
+WWW= https://blake2.net/ \
+ https://github.com/BLAKE2/BLAKE2
LICENSE= CC0-1.0
LICENSE_FILE= ${WRKSRC}/../COPYING
@@ -15,13 +16,17 @@ MAKEFILE= makefile
USE_CSTD= c99
WRKSRC_SUBDIR= b2sum
-PLIST_FILES= bin/b2sum
+PLIST_FILES= bin/b2sum \
+ share/man/man1/b2sum.1.gz
USE_GITHUB= yes
GH_ACCOUNT= BLAKE2
GH_PROJECT= BLAKE2
OPTIONS_DEFINE= OPENMP OPTIMIZED_CFLAGS SSE
+.if exists(/usr/include/omp.h)
+OPTIONS_DEFAULT+= OPENMP
+.endif
OPTIONS_DEFAULT_amd64= SSE
SSE_DESC= Use SSE2, SSSE3, SSE4.1, AVX or XOP instructions
@@ -44,6 +49,7 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-makefile
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/b2sum ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/b2sum ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/b2sum.1 ${STAGEDIR}${PREFIX}/share/man/man1/
.include <bsd.port.mk>