aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-cjk/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'print/latex-cjk/Makefile.common')
-rw-r--r--print/latex-cjk/Makefile.common12
1 files changed, 12 insertions, 0 deletions
diff --git a/print/latex-cjk/Makefile.common b/print/latex-cjk/Makefile.common
new file mode 100644
index 000000000000..0674c5b1d657
--- /dev/null
+++ b/print/latex-cjk/Makefile.common
@@ -0,0 +1,12 @@
+TEXMFDIR= ${LOCALBASE}/share/texmf
+TEXMFDIR_REL= ${TEXMFDIR:S/${LOCALBASE}\///}
+
+CJKDIR= ${PREFIX}/${TEXMFDIR_REL}/tex/latex/CJK
+CJKDIR_REL= ${CJKDIR:S/${PREFIX}\///}
+CJKMAPDIR= ${PREFIX}/${TEXMFDIR_REL}/fonts/map/dvips/CJK
+
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+
+PLIST_SUB+= TEXMFDIR=${TEXMFDIR_REL} \
+ CJKDIR=${CJKDIR_REL}
+