aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-04 04:56:59 +0800
committeradamw <adamw@FreeBSD.org>2014-01-04 04:56:59 +0800
commit081ca9c56ec1cc704603401e88037bf3e04c5d73 (patch)
tree6b16e76aa2586aa81e24064d9035f3c845959578 /cad
parent78ebf8bcbd86984978d8b0e8db63c70ce3184287 (diff)
downloadfreebsd-ports-gnome-081ca9c56ec1cc704603401e88037bf3e04c5d73.tar.gz
freebsd-ports-gnome-081ca9c56ec1cc704603401e88037bf3e04c5d73.tar.zst
freebsd-ports-gnome-081ca9c56ec1cc704603401e88037bf3e04c5d73.zip
Switch back to using WITH_EXAMPLES. The logic in this port is
far too twisted for a simple change to MEXAMPLES.
Diffstat (limited to 'cad')
-rw-r--r--cad/calculix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index 0962e2838402..4b61958a54f7 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -139,7 +139,7 @@ do-install:
${DOCSDIR}
@${GZIP_CMD} ${DOCSDIR}/*.ps
.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+.ifdef WITH_EXAMPLES
@${MKDIR} ${EXAMPLESDIR}
@${TAR} cf - -C ${WRKSRC}/${CGX_VER}/examples . | ${TAR} xf - -C ${EXAMPLESDIR}
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}