aboutsummaryrefslogtreecommitdiff
path: root/cad/calculix
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:53:42 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:53:42 +0000
commit43b73e5cfaaa8d7a48d81772a31f46e9121f5faa (patch)
tree7ebb16ef28c161ae63aef766228c555d90ec2830 /cad/calculix
parent38f392c2bf099a7cc2a6e6bd299aad94caef7a0b (diff)
downloadports-43b73e5cfaaa8d7a48d81772a31f46e9121f5faa.tar.gz
ports-43b73e5cfaaa8d7a48d81772a31f46e9121f5faa.zip
Notes
Diffstat (limited to 'cad/calculix')
-rw-r--r--cad/calculix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index 1af77d935ae9..0962e2838402 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -126,7 +126,7 @@ do-install:
${PREFIX}/bin/ccx
@${INSTALL_PROGRAM} ${WRKSRC}/${CGX_VER}/src/cgx \
${PREFIX}/bin/cgx
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/ccx
@${INSTALL_DATA} ${WRKSRC}/${CCX_VER}/doc/ccx/* \
@@ -139,7 +139,7 @@ do-install:
${DOCSDIR}
@${GZIP_CMD} ${DOCSDIR}/*.ps
.endif
-.ifdef WITH_EXAMPLES
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@${TAR} cf - -C ${WRKSRC}/${CGX_VER}/examples . | ${TAR} xf - -C ${EXAMPLESDIR}
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}