www/emacs-w3m: Fix pkg-plist when OCTET_VIEWER option is off

PR:	267155
Reported by:	yasu
This commit is contained in:
MANTANI Nobutaka 2022-10-24 22:08:25 +09:00
parent bf9ddb2284
commit ba6850f84e
2 changed files with 5 additions and 1 deletions

View File

@ -61,6 +61,10 @@ PLIST_SUB+= EMACS28="@comment "
post-patch:
@${MV} ${WRKSRC}/aclocal.m4 ${WRKSRC}/acinclude.m4
post-install:
${RM} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/w3m/mew-shimbun.elc \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/w3m/mew-w3m.elc
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

View File

@ -45,7 +45,7 @@
%%EMACS_VERSION_SITE_LISPDIR%%/w3m/bookmark-w3m.elc
%%EMACS_VERSION_SITE_LISPDIR%%/w3m/mew-w3m.el
%%EMACS_VERSION_SITE_LISPDIR%%/w3m/mime-w3m.el
%%EMACS_VERSION_SITE_LISPDIR%%/w3m/mime-w3m.elc
%%OCTET_VIEWER%%%%EMACS_VERSION_SITE_LISPDIR%%/w3m/mime-w3m.elc
%%EMACS_VERSION_SITE_LISPDIR%%/w3m/octet.el
%%OCTET_VIEWER%%%%EMACS_VERSION_SITE_LISPDIR%%/w3m/octet.elc
%%SHIMBUN%%%%EMACS_VERSION_SITE_LISPDIR%%/w3m/mew-shimbun.el