Stage support
This commit is contained in:
parent
511e7485f8
commit
6d1d403549
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344470
1 changed files with 8 additions and 11 deletions
|
@ -16,22 +16,19 @@ NO_BUILD= yes
|
|||
|
||||
USE_ASDF= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= Makefile make.lisp readme.html readme.lml
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${ASDF_PATHNAME}
|
||||
@${INSTALL_DATA} ${WRKSRC}/*.lisp ${ASDF_PATHNAME}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.asd ${ASDF_PATHNAME}
|
||||
@${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME} ${STAGEDIR}${ASDF_REGISTRY}
|
||||
@${INSTALL_DATA} ${WRKSRC}/*.lisp ${STAGEDIR}${ASDF_PATHNAME}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.asd ${STAGEDIR}${ASDF_PATHNAME}
|
||||
@${LN} -sf ${ASDF_PATHNAME}/${PORTNAME}.asd ${STAGEDIR}${ASDF_REGISTRY}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for FILE in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue