aboutsummaryrefslogtreecommitdiff
path: root/converters/cl-babel
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 16:12:21 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 16:12:21 +0000
commit9523cfd4e2febeea0866c42e2d6d62f8a9a29dc9 (patch)
tree8d979ce7322c8b03c4d310c7286e6659cd0bdc39 /converters/cl-babel
parentfbd9122a40a8aef04301c3d176bb2573a5e66fa6 (diff)
downloadports-9523cfd4e2febeea0866c42e2d6d62f8a9a29dc9.tar.gz
ports-9523cfd4e2febeea0866c42e2d6d62f8a9a29dc9.zip
Notes
Diffstat (limited to 'converters/cl-babel')
-rw-r--r--converters/cl-babel/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/converters/cl-babel/Makefile b/converters/cl-babel/Makefile
index 16ed959a8b3c..31c7a8398d14 100644
--- a/converters/cl-babel/Makefile
+++ b/converters/cl-babel/Makefile
@@ -23,6 +23,8 @@ NO_BUILD= yes
USE_ASDF= yes
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${ASDF_PATHNAME}
@${MKDIR} ${ASDF_PATHNAME}/src
@@ -30,13 +32,13 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/babel.asd ${ASDF_PATHNAME}
@${INSTALL_DATA} ${WRKSRC}/babel-streams.asd ${ASDF_PATHNAME}
@${LN} -sf ${ASDF_PATHNAME}/*.asd ${ASDF_REGISTRY}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for FILE in COPYRIGHT HEADER NOTES README
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/tests/* ${EXAMPLESDIR}
.endif