aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 10:34:15 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 10:42:28 +0000
commitfe858d5e358b9ca4b7af63b95550e5f98fc525fb (patch)
treec1da87a0f16f37cacfffd894dd3f2b926d0b3fa6
parent7188df6f55f945a1c514f68e536295548ec0e761 (diff)
downloadports-fe858d5e358b9ca4b7af63b95550e5f98fc525fb.tar.gz
ports-fe858d5e358b9ca4b7af63b95550e5f98fc525fb.zip
devel/tex-kpathsea: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--devel/tex-kpathsea/Makefile6
-rw-r--r--devel/tex-kpathsea/pkg-plist16
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