mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Add staging support
This commit is contained in:
parent
93bd830d2d
commit
0be4595fc2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356113
@ -19,16 +19,12 @@ XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
||||
|
||||
LISPFILES= doctest-mode.el pycomplete.el pycomplete.py python-mode.el
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${EMACSLISPDIR}
|
||||
${MKDIR} ${XEMACSLISPDIR}
|
||||
for i in ${LISPFILES}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${i} ${EMACSLISPDIR}/$${i}; \
|
||||
${LN} -sf ${EMACSLISPDIR}/$${i} ${XEMACSLISPDIR}; \
|
||||
done;
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${MKDIR} ${STAGEDIR}${EMACSLISPDIR}
|
||||
@${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}
|
||||
.for i in ${LISPFILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${EMACSLISPDIR}
|
||||
${LN} -sf ${EMACSLISPDIR}/${i} ${STAGEDIR}${XEMACSLISPDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,15 +1,10 @@
|
||||
lib/xemacs/site-lisp/doctest-mode.el
|
||||
lib/xemacs/site-lisp/python-mode.el
|
||||
lib/xemacs/site-lisp/pycomplete.el
|
||||
lib/xemacs/site-lisp/pycomplete.py
|
||||
share/emacs/site-lisp/doctest-mode.el
|
||||
share/emacs/site-lisp/python-mode.el
|
||||
share/emacs/site-lisp/pycomplete.el
|
||||
share/emacs/site-lisp/pycomplete.py
|
||||
@exec mkdir -p %D/lib/xemacs/site-lisp
|
||||
@exec ln -sf %D/share/emacs/site-lisp/doctest-mode.el %D/lib/xemacs/site-lisp
|
||||
@exec ln -sf %D/share/emacs/site-lisp/python-mode.el %D/lib/xemacs/site-lisp
|
||||
@exec ln -sf %D/share/emacs/site-lisp/pycomplete.el %D/lib/xemacs/site-lisp
|
||||
@exec ln -sf %D/share/emacs/site-lisp/pycomplete.py %D/lib/xemacs/site-lisp
|
||||
@unexec rm %D/lib/xemacs/site-lisp/doctest-mode.el 2>/dev/null || true
|
||||
@unexec rm %D/lib/xemacs/site-lisp/python-mode.el 2>/dev/null || true
|
||||
@unexec rm %D/lib/xemacs/site-lisp/pycomplete.el 2>/dev/null || true
|
||||
@unexec rm %D/lib/xemacs/site-lisp/pycomplete.py 2>/dev/null || true
|
||||
@dirrmtry lib/xemacs/site-lisp
|
||||
@dirrmtry lib/xemacs
|
||||
|
Loading…
Reference in New Issue
Block a user