aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-cjk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/latex-cjk/Makefile')
-rw-r--r--print/latex-cjk/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/latex-cjk/Makefile b/print/latex-cjk/Makefile
index 69942fe63e1f..11f8dc576d68 100644
--- a/print/latex-cjk/Makefile
+++ b/print/latex-cjk/Makefile
@@ -30,12 +30,11 @@ MAN1= bg5conv.1 cef5conv.1 cefconv.1 cefsconv.1 extconv.1 \
hbf2gf.1 sjisconv.1
SUB_FILES= pkg-deinstall pkg-install pkg-message
-SUB_LIST= TEXMFMAIN=${LOCALBASE}/share/texmf
+SUB_LIST= TEXMFDIR=${TEXMFDIR_REL}
+PLIST_SUB= TEXMFDIR=${TEXMFDIR_REL}
INSTALL_DIR= ${INSTALL} -d -m 0755 -o root -g wheel
-CJKDIR= ${PREFIX}/share/texmf/tex/latex/CJK
-CJKMAPDIR= ${PREFIX}/share/texmf/fonts/map/dvips/CJK
WRKFONTDIR= ${WRKDIR}/fonts
# Options: WITH_*/WITHOUT_*
@@ -117,7 +116,7 @@ post-install:
# Install package ccmap
.if !defined(WITHOUT_CCMAP)
@${ECHO_CMD} "Installing ccmap..."
- ${LOCALBASE}/bin/mktexlsr
+ ${MKTEXLSR}
cd ${WRKDIR}/ccmap && ${SH} make.sh && ${COPYTREE_SHARE} \* ${CJKDIR}/ccmap
.endif
@@ -144,4 +143,5 @@ post-install:
${CAT} ${PKGMESSAGE}
+.include "../../print/latex-cjk/Makefile.common"
.include <bsd.port.post.mk>