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-08-05 18:33:27 +00:00
parent 2876778e23
commit 285cad890f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364132

View File

@ -22,15 +22,13 @@ EXTRACT_AFTER_ARGS=${WRKSRC}/${PORTNAME}
PLIST_FILES= ${EMACS_SITE_LISPDIR}/${PORTNAME} \
${EMACS_SITE_LISPDIR}/${PORTNAME}c
NO_STAGE= yes
do-build:
cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile ${PORTNAME}
do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${PREFIX}/${EMACS_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}c ${PREFIX}/${EMACS_SITE_LISPDIR}
post-install:
@${CAT} ${PKGMESSAGE}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}c \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
.include <bsd.port.mk>