No need to create ${PORTINFORDIR}/dir explicitly -- install-info does it for
you. Besides, the check was incorrect, causing the dir file to be always wiped out!
This commit is contained in:
parent
c777255c41
commit
6c805fc586
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21657
3 changed files with 0 additions and 9 deletions
|
@ -51,9 +51,6 @@ do-install:
|
|||
${RM} ${ELISPDIR}/lookup-compile.el
|
||||
${SED} -e 's,@VERSION@,1.0,' -e 's,@pkgemacsdir@,${ELISPDIR},' \
|
||||
${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
|
||||
@if [ ! -f ${PORTINFODIR}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PORTINFODIR}/dir; \
|
||||
fi
|
||||
install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
|
||||
${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el
|
||||
|
||||
|
|
|
@ -51,9 +51,6 @@ do-install:
|
|||
${RM} ${ELISPDIR}/lookup-compile.el
|
||||
${SED} -e 's,@VERSION@,1.0,' -e 's,@pkgemacsdir@,${ELISPDIR},' \
|
||||
${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
|
||||
@if [ ! -f ${PORTINFODIR}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PORTINFODIR}/dir; \
|
||||
fi
|
||||
install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
|
||||
${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el
|
||||
|
||||
|
|
|
@ -51,9 +51,6 @@ do-install:
|
|||
${RM} ${ELISPDIR}/lookup-compile.el
|
||||
${SED} -e 's,@VERSION@,1.0,' -e 's,@pkgemacsdir@,${ELISPDIR},' \
|
||||
${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
|
||||
@if [ ! -f ${PORTINFODIR}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PORTINFODIR}/dir; \
|
||||
fi
|
||||
install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
|
||||
${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el
|
||||
|
||||
|
|
Loading…
Reference in a new issue