git: 25c219e11bec - main - security/tthsum: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 13:52:27 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=25c219e11bec503e0da17d212df1d63028b87ad8
commit 25c219e11bec503e0da17d212df1d63028b87ad8
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 13:35:12 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 13:52:03 +0000
security/tthsum: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
security/tthsum/Makefile | 4 ++--
security/tthsum/files/patch-Makefile | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/security/tthsum/Makefile b/security/tthsum/Makefile
index b9866723577f..9572bbd63f4c 100644
--- a/security/tthsum/Makefile
+++ b/security/tthsum/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tthsum
PORTVERSION= 1.3.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://tthsum.devs.nu/pkg/ \
LOCAL/ehaupt
@@ -16,7 +16,7 @@ CONFLICTS= microdc2
USES= gmake
-PLIST_FILES= bin/tthsum man/man1/tthsum.1.gz
+PLIST_FILES= bin/tthsum share/man/man1/tthsum.1.gz
WRKSRC= ${WRKDIR}/${PORTNAME}
TEST_TARGET= runtest
diff --git a/security/tthsum/files/patch-Makefile b/security/tthsum/files/patch-Makefile
index 7d7bb05fb4c3..e371314e3173 100644
--- a/security/tthsum/files/patch-Makefile
+++ b/security/tthsum/files/patch-Makefile
@@ -29,9 +29,9 @@
- install $(BINS)/tthsum $(BIN)
- install -m644 $(SHARES)/tthsum.1.gz $(MAN)/man1
+install: tthsum manual
-+ install -d $(BIN) $(DESTDIR)$(MANPREFIX)/man/man1
++ install -d $(BIN) $(DESTDIR)$(PREFIX)/share/man/man1
+ install $(BINS)/tthsum $(DESTDIR)$(PREFIX)/bin
-+ install -m644 $(SHARES)/tthsum.1.gz $(DESTDIR)$(MANPREFIX)/man/man1
++ install -m644 $(SHARES)/tthsum.1.gz $(DESTDIR)$(PREFIX)/share/man/man1
uninstall:
$(RM) $(BIN)/tthsum