Skip to content

Commit

Permalink
devel/tex-kpathsea: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 22, 2024
1 parent 7188df6 commit fe858d5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
6 changes: 4 additions & 2 deletions 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-
Expand All @@ -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

Expand All @@ -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>
16 changes: 8 additions & 8 deletions devel/tex-kpathsea/pkg-plist
Expand Up @@ -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

0 comments on commit fe858d5

Please sign in to comment.