Fix package installation in a world WITHOUT_INFO
This commit is contained in:
parent
df9cc6e5e2
commit
f95fc00ac8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359776
@ -83,6 +83,13 @@ MAKEINFO= makeinfo --no-split --no-validate
|
||||
MAKEINFO_EMACS= ${EMACS_CMD} -no-site-file -no-init-file -batch
|
||||
MAKEINFO_EMACS_FLAGS= -e texinfo-format-buffer -f save-buffer
|
||||
|
||||
.if ! defined(EMACS_PACKAGESDIR) || ! defined(MANIFEST)
|
||||
INFO= mime-en
|
||||
.if defined(EMACS_HAS_MULE) && (${EMACS_HAS_MULE} == "YES")
|
||||
INFO+= mime-ja
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
|
||||
pre-build: pkg-el-copy
|
||||
.endif
|
||||
@ -172,13 +179,11 @@ info-install:
|
||||
@(cd ${WRKSRC} ; \
|
||||
for i in mime-en.info; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${i} ${STAGEDIR}${LOCALBASE}/info ; \
|
||||
install-info ${STAGEDIR}${LOCALBASE}/info/$${i} ${STAGEDIR}${LOCALBASE}/info/dir ; \
|
||||
done)
|
||||
.if defined(EMACS_HAS_MULE) && (${EMACS_HAS_MULE} == "YES")
|
||||
@(cd ${WRKSRC} ; \
|
||||
for i in mime-ja.info; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${i} ${STAGEDIR}${LOCALBASE}/info ; \
|
||||
install-info ${STAGEDIR}${LOCALBASE}/info/$${i} ${STAGEDIR}${LOCALBASE}/info/dir ; \
|
||||
done)
|
||||
.endif
|
||||
|
||||
|
@ -77,11 +77,5 @@
|
||||
%%PORTDOCS%%%%FLIMDOCDIR%%/README.ja
|
||||
%%PORTDOCS%%%%FLIMDOCDIR%%/VERSION
|
||||
%%PORTDOCS%%@dirrm %%FLIMDOCDIR%%
|
||||
@unexec install-info --delete %D/info/mime-en.info %D/info/dir
|
||||
info/mime-en.info
|
||||
@exec install-info %D/info/mime-en.info %D/info/dir
|
||||
@unexec install-info --delete %D/info/mime-ja.info %D/info/dir
|
||||
info/mime-ja.info
|
||||
@exec install-info %D/info/mime-ja.info %D/info/dir
|
||||
share/flim/%%FLIM_COOKIE%%
|
||||
@dirrmtry share/flim
|
||||
|
@ -76,6 +76,13 @@ MAKEINFO= makeinfo --no-split --no-validate
|
||||
MAKEINFO_EMACS= ${EMACS_CMD} -no-site-file -no-init-file -batch
|
||||
MAKEINFO_EMACS_FLAGS= -e texinfo-format-buffer -f save-buffer
|
||||
|
||||
.if ! defined(EMACS_PACKAGESDIR) || ! defined(MANIFEST)
|
||||
INFO= mime-ui-en
|
||||
.if defined(EMACS_HAS_MULE) && (${EMACS_HAS_MULE} == "YES")
|
||||
INFO+= mime-ui-ja
|
||||
.endif
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
|
||||
@${MAKE} -C ${.CURDIR} pkg-el-copy
|
||||
@ -169,13 +176,11 @@ info-install:
|
||||
@(cd ${WRKSRC} ; \
|
||||
for i in mime-ui-en.info; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${i} ${STAGEDIR}${LOCALBASE}/info ; \
|
||||
install-info ${STAGEDIR}${LOCALBASE}/info/$${i} ${STAGEDIR}${LOCALBASE}/info/dir ; \
|
||||
done)
|
||||
.if defined(EMACS_HAS_MULE) && (${EMACS_HAS_MULE} == "YES")
|
||||
@(cd ${WRKSRC} ; \
|
||||
for i in mime-ui-ja.info; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${i} ${STAGEDIR}${LOCALBASE}/info ; \
|
||||
install-info ${STAGEDIR}${LOCALBASE}/info/$${i} ${STAGEDIR}${LOCALBASE}/info/dir ; \
|
||||
done)
|
||||
.endif
|
||||
|
||||
|
@ -48,11 +48,5 @@
|
||||
%%PORTDOCS%%%%SEMIDOCDIR%%/TODO
|
||||
%%PORTDOCS%%%%SEMIDOCDIR%%/VERSION
|
||||
%%PORTDOCS%%@dirrm %%SEMIDOCDIR%%
|
||||
@unexec install-info --delete %D/info/mime-ui-en.info %D/info/dir
|
||||
info/mime-ui-en.info
|
||||
@exec install-info %D/info/mime-ui-en.info %D/info/dir
|
||||
@unexec install-info --delete %D/info/mime-ui-ja.info %D/info/dir
|
||||
info/mime-ui-ja.info
|
||||
@exec install-info %D/info/mime-ui-ja.info %D/info/dir
|
||||
share/semi/%%SEMI_COOKIE%%
|
||||
@dirrmtry share/semi
|
||||
|
Loading…
Reference in New Issue
Block a user