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>