1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- duplicate lisp files for diffrent emacs flavors

PR:		89771
Submitted by:	Andrey Slusar
This commit is contained in:
Dirk Meyer 2005-12-25 12:57:49 +00:00
parent f5df6185a4
commit af099cb93c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152005
2 changed files with 11 additions and 0 deletions

View File

@ -57,6 +57,13 @@ PLIST_SUB+= WITHEMACS="@comment "
post-install:
${STRIP_CMD} ${PREFIX}/bin/a2ps
.if defined(WITH_EMACS)
${MKDIR} -p ${PREFIX}/lib/xemacs/site-lisp
${LN} -sf ${PREFIX}/share/emacs/site-lisp/a2ps-print.el \
${PREFIX}/lib/xemacs/site-lisp/a2ps-print.el
${LN} -sf ${PREFIX}/share/emacs/site-lisp/a2ps.el \
${PREFIX}/lib/xemacs/site-lisp/a2ps.el
.endif
(cd ${WRKSRC}/doc; ${MAKE} install)
${RM} -f ${PREFIX}/lib/liba2ps.la

View File

@ -258,6 +258,8 @@ share/locale/sv/LC_MESSAGES/a2ps.mo
share/locale/tr/LC_MESSAGES/a2ps.mo
%%WITHEMACS%%share/emacs/site-lisp/a2ps-print.el
%%WITHEMACS%%share/emacs/site-lisp/a2ps.el
%%WITHEMACS%%lib/xemacs/site-lisp/a2ps-print.el
%%WITHEMACS%%lib/xemacs/site-lisp/a2ps.el
@dirrm %%DATADIR%%/ogonkify/fonts
@dirrm %%DATADIR%%/ogonkify/afm
@dirrm %%DATADIR%%/ogonkify
@ -268,6 +270,8 @@ share/locale/tr/LC_MESSAGES/a2ps.mo
@dirrm %%DATADIR%%/encoding
@dirrm %%DATADIR%%/afm
@dirrm %%DATADIR%%
%%WITHEMACS%%@dirrm lib/xemacs/site-lisp
%%WITHEMACS%%@dirrm lib/xemacs
@unexec rmdir %D/share/locale/ca/LC_MESSAGES 2> /dev/null || true
@unexec rmdir %D/share/locale/ca 2> /dev/null || true
@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2> /dev/null || true