git: fe858d5e358b - main - devel/tex-kpathsea: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 10:42:52 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fe858d5e358b9ca4b7af63b95550e5f98fc525fb
commit fe858d5e358b9ca4b7af63b95550e5f98fc525fb
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 10:34:15 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 10:42:28 +0000
devel/tex-kpathsea: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
devel/tex-kpathsea/Makefile | 6 ++++--
devel/tex-kpathsea/pkg-plist | 16 ++++++++--------
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/devel/tex-kpathsea/Makefile b/devel/tex-kpathsea/Makefile
index 6575ad4cdc37..cf03c00fc387 100644
--- a/devel/tex-kpathsea/Makefile
+++ b/devel/tex-kpathsea/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kpathsea
PORTVERSION= 6.3.5
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/
PKGNAMEPREFIX= tex-
@@ -15,6 +16,7 @@ USES= libtool pathfix tar:xz tex
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
INSTALL_TARGET= install-strip
@@ -33,11 +35,11 @@ post-install:
for f in kpsetool kpsewhere; do \
${INSTALL_SCRIPT} $${f}.sh ${STAGEDIR}${PREFIX}/bin/$$f; \
${INSTALL_MAN} ../../tl_support/$${f}.1 \
- ${STAGEDIR}${MANPREFIX}/man/man1/$${f}.1; \
+ ${STAGEDIR}${PREFIX}/share/man/man1/$${f}.1; \
done; \
for l in kpsexpand kpsepath; do \
${LN} -sf kpsetool ${STAGEDIR}${PREFIX}/bin/$$l; \
- ${LN} -sf kpsetool.1 ${STAGEDIR}${MANPREFIX}/man/man1/$${l}.1; \
+ ${LN} -sf kpsetool.1 ${STAGEDIR}${PREFIX}/share/man/man1/$${l}.1; \
done)
.include <bsd.port.mk>
diff --git a/devel/tex-kpathsea/pkg-plist b/devel/tex-kpathsea/pkg-plist
index 5a0ed243b302..10efe2c35d9c 100644
--- a/devel/tex-kpathsea/pkg-plist
+++ b/devel/tex-kpathsea/pkg-plist
@@ -57,12 +57,12 @@ lib/libkpathsea.so
lib/libkpathsea.so.6
lib/libkpathsea.so.%%VERSION%%
libdata/pkgconfig/kpathsea.pc
-man/man1/kpseaccess.1.gz
-man/man1/kpsepath.1.gz
-man/man1/kpsereadlink.1.gz
-man/man1/kpsestat.1.gz
-man/man1/kpsetool.1.gz
-man/man1/kpsewhere.1.gz
-man/man1/kpsewhich.1.gz
-man/man1/kpsexpand.1.gz
+share/man/man1/kpseaccess.1.gz
+share/man/man1/kpsepath.1.gz
+share/man/man1/kpsereadlink.1.gz
+share/man/man1/kpsestat.1.gz
+share/man/man1/kpsetool.1.gz
+share/man/man1/kpsewhere.1.gz
+share/man/man1/kpsewhich.1.gz
+share/man/man1/kpsexpand.1.gz
%%TEXMFDISTDIR%%/web2c/texmf.cnf