summaryrefslogtreecommitdiff
path: root/print/yatex
diff options
context:
space:
mode:
Diffstat (limited to 'print/yatex')
-rw-r--r--print/yatex/Makefile4
-rw-r--r--print/yatex/files/INSTALL.tmpl3
2 files changed, 5 insertions, 2 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile
index 41f1dab14dbc..da9acf28e687 100644
--- a/print/yatex/Makefile
+++ b/print/yatex/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= taoka@FreeBSD.org
WRKSRC= ${WRKDIR}/yatex${VERSION}
.if defined(XEMACS-MULE)
-BUILD_DEPENDS= xemacs:${PORTSDIR}/editors/xemacs-mule \
+BUILD_DEPENDS= xemacs:${PORTSDIR}/japanese/xemacs \
${PREFIX}/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.zenirc:${PORTSDIR}/editors/xemacs-sumo-packages \
nkf:${PORTSDIR}/japanese/nkf
.endif
@@ -130,7 +130,7 @@ do-install:
.if defined(XEMACS) || defined(XEMACS-MULE)
cd ${WRKSRC}; \
for file in `${ECHO} ${INFOFILES} | ${SED} "s,:, ,g"`; do \
- ${INSTALL_DATA} ${WRKSRC}/docs/$${file} ${INFODIR}.info; \
+ ${INSTALL_DATA} ${WRKSRC}/docs/$${file} ${INFODIR}/$${file}.info; \
done
.else
cd ${WRKSRC}; \
diff --git a/print/yatex/files/INSTALL.tmpl b/print/yatex/files/INSTALL.tmpl
index 777d3e4a48bc..6b343f1846df 100644
--- a/print/yatex/files/INSTALL.tmpl
+++ b/print/yatex/files/INSTALL.tmpl
@@ -28,6 +28,9 @@ if [ "X$2" = X"POST-INSTALL" ]; then
break
fi
file=`${ECHO} ${infofiles} | ${CUT} -d : -f $count`
+ if [ X%%EMACS%% = Xxemacs ]; then
+ file=${file}.info
+ fi
nodename=`${ECHO} ${infonodes} | ${CUT} -d : -f $count`
nodeexp=`${ECHO} ${infonodeexps} | ${CUT} -d : -f $count`
if [ ! "`${GREP} \"START-INFO-DIR-ENTRY\" ${infodir}/${file}`" ]; then