1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

PR:		ports/182481
Submitted by:	maintainer
This commit is contained in:
Pawel Pekala 2014-02-06 20:15:32 +00:00
parent 3e3b09223a
commit 3b95fc04db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343147
2 changed files with 5 additions and 9 deletions

View File

@ -6,5 +6,4 @@ MASTERDIR= ${.CURDIR}/../yaml-mode.el
USE_EMACS= yes
EMACS_PORT_NAME= emacs21
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -21,20 +21,17 @@ USE_EMACS= yes
MAKE_ENV+= LISPDIR=${LISPDIR}
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
LISPDIR= ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
pre-install:
${MKDIR} ${LISPDIR}
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in Changes README
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>