From 6d1d40354977e8ce8b54dce47d0521aa90c7fe3e Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 15 Feb 2014 18:36:44 +0000 Subject: [PATCH] Stage support --- www/cl-lml/Makefile | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/www/cl-lml/Makefile b/www/cl-lml/Makefile index 10798c7b7d20..60cc68ac89fa 100644 --- a/www/cl-lml/Makefile +++ b/www/cl-lml/Makefile @@ -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