mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Support staging
This commit is contained in:
parent
10fd8a42a3
commit
0ad741bf4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345448
@ -17,18 +17,14 @@ NO_WRKSUBDIR= yes
|
||||
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
|
||||
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
||||
|
||||
NO_STAGE= yes
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
${GUNZIP_CMD} -c ${DISTDIR}/${DISTNAME} > ${WRKDIR}/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${EMACSLISPDIR}
|
||||
${MKDIR} ${XEMACSLISPDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/${PORTNAME} ${EMACSLISPDIR}
|
||||
${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${XEMACSLISPDIR}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${MKDIR} ${STAGEDIR}${EMACSLISPDIR}
|
||||
${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${EMACSLISPDIR}
|
||||
${LN} -sf ${PORTNAME} ${STAGEDIR}${XEMACSLISPDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user