aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-16 01:34:49 +0800
committerantoine <antoine@FreeBSD.org>2014-02-16 01:34:49 +0800
commite226f80dcc4d0b1eb427661766d16cbf386ef7ba (patch)
treeac57532344812c1d841ef2033fd5b47dcc5e5f71 /converters
parent8c5e46f94aaccaead59ea068a888aa5b1b36348e (diff)
downloadfreebsd-ports-gnome-e226f80dcc4d0b1eb427661766d16cbf386ef7ba.tar.gz
freebsd-ports-gnome-e226f80dcc4d0b1eb427661766d16cbf386ef7ba.tar.zst
freebsd-ports-gnome-e226f80dcc4d0b1eb427661766d16cbf386ef7ba.zip
Stage support
Diffstat (limited to 'converters')
-rw-r--r--converters/cl-babel/Makefile29
1 files changed, 11 insertions, 18 deletions
diff --git a/converters/cl-babel/Makefile b/converters/cl-babel/Makefile
index 44353bedd785..65f47219901c 100644
--- a/converters/cl-babel/Makefile
+++ b/converters/cl-babel/Makefile
@@ -22,28 +22,21 @@ NO_BUILD= yes
USE_ASDF= yes
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-.include <bsd.port.options.mk>
do-install:
- @${MKDIR} ${ASDF_PATHNAME}
- @${MKDIR} ${ASDF_PATHNAME}/src
- @${INSTALL_DATA} ${WRKSRC}/src/*.lisp ${ASDF_PATHNAME}/src
- @${INSTALL_DATA} ${WRKSRC}/babel.asd ${ASDF_PATHNAME}
- @${INSTALL_DATA} ${WRKSRC}/babel-streams.asd ${ASDF_PATHNAME}
- @${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY}
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${ASDF_PATHNAME} ${STAGEDIR}${ASDF_REGISTRY}
+ @${MKDIR} ${STAGEDIR}${ASDF_PATHNAME}/src
+ @${INSTALL_DATA} ${WRKSRC}/src/*.lisp ${STAGEDIR}${ASDF_PATHNAME}/src
+ @${INSTALL_DATA} ${WRKSRC}/babel.asd ${STAGEDIR}${ASDF_PATHNAME}
+ @${INSTALL_DATA} ${WRKSRC}/babel-streams.asd ${STAGEDIR}${ASDF_PATHNAME}
+ @${LN} -sf ${ASDF_PATHNAME}/babel.asd ${ASDF_PATHNAME}/babel-streams.asd ${STAGEDIR}${ASDF_REGISTRY}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in COPYRIGHT HEADER NOTES README
- @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/tests/* ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/tests/* ${STAGEDIR}${EXAMPLESDIR}
.include "${.CURDIR}/../../devel/cl-asdf/bsd.cl-asdf.mk"
.include <bsd.port.mk>