aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 16:02:55 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 16:52:32 +0000
commitdd6d021595db3c5cb998c33be994d5f46a03ceee (patch)
tree9cc078d67a6dec7c850be7d35a27f52f6bb8e165
parentefc7eb74cdb7c377ae2f01e1599d79777e8de69c (diff)
downloadports-dd6d021595db3c5cb998c33be994d5f46a03ceee.tar.gz
ports-dd6d021595db3c5cb998c33be994d5f46a03ceee.zip
net-p2p/py-tremc: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--net-p2p/py-tremc/Makefile1
-rw-r--r--net-p2p/py-tremc/files/patch-Makefile4
-rw-r--r--net-p2p/py-tremc/pkg-plist2
3 files changed, 4 insertions, 3 deletions
diff --git a/net-p2p/py-tremc/Makefile b/net-p2p/py-tremc/Makefile
index fe1dd0b3ff85..4d013cf72294 100644
--- a/net-p2p/py-tremc/Makefile
+++ b/net-p2p/py-tremc/Makefile
@@ -1,5 +1,6 @@
PORTNAME= tremc
DISTVERSION= 0.9.3
+PORTREVISION= 1
CATEGORIES= net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/net-p2p/py-tremc/files/patch-Makefile b/net-p2p/py-tremc/files/patch-Makefile
index f4fe0aa84695..d33d7bff2824 100644
--- a/net-p2p/py-tremc/files/patch-Makefile
+++ b/net-p2p/py-tremc/files/patch-Makefile
@@ -6,8 +6,8 @@
install:
- install -d "${DESTDIR}${PREFIX}/share/man/man1"
- install -m 644 tremc.1 "${DESTDIR}${PREFIX}/share/man/man1/tremc.1"
-+ install -d "${DESTDIR}${MANPREFIX}/man/man1"
-+ install -m 644 tremc.1 "${DESTDIR}${MANPREFIX}/man/man1"
++ install -d "${DESTDIR}${PREFIX}/share/man/man1"
++ install -m 644 tremc.1 "${DESTDIR}${PREFIX}/share/man/man1"
install -d "${DESTDIR}${PREFIX}/bin"
install -m 755 tremc "${DESTDIR}${PREFIX}/bin/tremc"
install -d "${DESTDIR}${PREFIX}/share/bash-completion/completions"
diff --git a/net-p2p/py-tremc/pkg-plist b/net-p2p/py-tremc/pkg-plist
index 9c2007ca1718..acd9883184ac 100644
--- a/net-p2p/py-tremc/pkg-plist
+++ b/net-p2p/py-tremc/pkg-plist
@@ -1,4 +1,4 @@
bin/tremc
-man/man1/tremc.1.gz
+share/man/man1/tremc.1.gz
share/bash-completion/completions/tremc
share/zsh/site-functions/_tremc