diff options
author | hrs <hrs@FreeBSD.org> | 2010-01-13 03:44:28 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2010-01-13 03:44:28 +0800 |
commit | c1d19f5c9f32a4e97781a8c16d011486ecefaa7f (patch) | |
tree | ee40d81e36f794d68f059d655d1efbe6fe9a3f3a /japanese/platex-otf | |
parent | 115aca263c80bbc181c58165f9f402fa3fcfa559 (diff) | |
download | freebsd-ports-gnome-c1d19f5c9f32a4e97781a8c16d011486ecefaa7f.tar.gz freebsd-ports-gnome-c1d19f5c9f32a4e97781a8c16d011486ecefaa7f.tar.zst freebsd-ports-gnome-c1d19f5c9f32a4e97781a8c16d011486ecefaa7f.zip |
- Use specific directories for mktexlsr.
- Use SUB_FILES for pkg-message[*].
PR: ports/142620 [*]
Submitted by: Sevan Janiyan [*]
Diffstat (limited to 'japanese/platex-otf')
-rw-r--r-- | japanese/platex-otf/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/japanese/platex-otf/Makefile b/japanese/platex-otf/Makefile index 99905aa5cf5f..a8f4dd6f2b04 100644 --- a/japanese/platex-otf/Makefile +++ b/japanese/platex-otf/Makefile @@ -6,7 +6,7 @@ PORTNAME= platex-otf PORTVERSION= 1.2.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= japanese print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= hrs @@ -30,9 +30,9 @@ PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR} \ DVIPSDIR=${DVIPSDIR} DVIPDFMDIR=${DVIPDFMDIR} WRKSRC= ${WRKDIR}/otfstable PLIST= ${WRKDIR}/pkg-plist -PKGMESSAGE_SUB= DVIPSDIR=${DVIPSDIR_DST} \ +SUB_FILES= pkg-message +SUB_LIST= DVIPSDIR=${DVIPSDIR_DST} \ DVIPDFMDIR=${DVIPDFMDIR_DST} -PKGMESSAGE= ${WRKDIR}/pkg-message TEXMFDIR= share/texmf TEXMFLOCALDIR= share/texmf-local @@ -540,8 +540,6 @@ post-build: done pre-install: - @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} @${ECHO_CMD} "@comment AUTOMATICALLY GENERATED PLIST" > ${PLIST} @${ECHO_CMD} "${DVIPDFMDIR_DST}/cid-otf-noembed.map" >> ${PLIST} .for D in CLASS OFM TFM VF DVIPDFM DVIPS @@ -554,8 +552,8 @@ pre-install: @${ECHO_CMD} "%%PORTDOCS%%%%DOCSDIR%%/otfmanual.pdf" >> ${PLIST} @${ECHO_CMD} "%%PORTDOCS%%%%DOCSDIR%%/vfontmap.platex-otf" >> ${PLIST} @${ECHO_CMD} "%%PORTDOCS%%@dirrm %%DOCSDIR%%" >> ${PLIST} - @${ECHO_CMD} "@exec if [ -x ${MKTEXLSR} ]; then ${MKTEXLSR}; fi" >> ${PLIST} - @${ECHO_CMD} "@unexec if [ -x ${MKTEXLSR} ]; then ${MKTEXLSR}; fi" >> ${PLIST} + @${ECHO_CMD} "@exec if [ -x ${MKTEXLSR} ]; then ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}; fi" >> ${PLIST} + @${ECHO_CMD} "@unexec if [ -x ${MKTEXLSR} ]; then ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}; fi" >> ${PLIST} do-install: .for D in CLASS OFM TFM VF DVIPDFM DVIPS @@ -574,7 +572,7 @@ do-install: .endif post-install: - ${MKTEXLSR} + ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |