1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-21 13:56:24 +00:00
parent 10fd8a42a3
commit 0ad741bf4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345448

View File

@ -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>