aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/jadetex-ptex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/jadetex-ptex/Makefile')
-rw-r--r--japanese/jadetex-ptex/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/japanese/jadetex-ptex/Makefile b/japanese/jadetex-ptex/Makefile
index 0df2564765c1..cda8b12de4a7 100644
--- a/japanese/jadetex-ptex/Makefile
+++ b/japanese/jadetex-ptex/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jadetex
PORTVERSION= 3.13
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,7 +24,14 @@ RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-tetex
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGMESSAGE_SUB= LOCALBASE=${LOCALBASE}
-PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX}
+PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX} \
+ MKTEXLSR=${MKTEXLSR} \
+ TEXMFDIR=${TEXMFDIR} \
+ TEXMFLOCALDIR=${TEXMFLOCALDIR}
+
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+TEXMFDIR= share/texmf
+TEXMFLOCALDIR= share/texmf-local
pre-patch:
${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \