Add staging support
This commit is contained in:
parent
2876778e23
commit
285cad890f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364132
1 changed files with 4 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue