1
0
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:
Pawel Pekala 2014-06-01 12:35:40 +00:00
parent 0a88efc19b
commit 73d9870236
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356107

View File

@ -20,16 +20,13 @@ EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
PLIST_FILES= share/emacs/site-lisp/lua-mode.el lib/xemacs/site-lisp/lua-mode.el
PLIST_DIRS= lib/xemacs/site-lisp lib/xemacs
PLIST_DIRSTRY= lib/xemacs/site-lisp lib/xemacs
NO_STAGE= yes
do-install:
${MKDIR} ${EMACSLISPDIR}
${MKDIR} ${XEMACSLISPDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/lua-mode.el
${LN} -sf ${EMACSLISPDIR}/lua-mode.el ${XEMACSLISPDIR}
post-install:
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${EMACSLISPDIR}
@${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} \
${STAGEDIR}${EMACSLISPDIR}/lua-mode.el
${LN} -sf ${EMACSLISPDIR}/lua-mode.el ${STAGEDIR}${XEMACSLISPDIR}
.include <bsd.port.mk>