aboutsummaryrefslogtreecommitdiffstats
path: root/cad/cider
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-03 23:53:42 +0800
committeradamw <adamw@FreeBSD.org>2014-01-03 23:53:42 +0800
commitbbe517fc11c41a36f1d82e2d3cb2e547ce8dae85 (patch)
tree7ebb16ef28c161ae63aef766228c555d90ec2830 /cad/cider
parent257d988f480a12d8d661eb13fd3ffca39a8091ae (diff)
downloadfreebsd-ports-gnome-bbe517fc11c41a36f1d82e2d3cb2e547ce8dae85.tar.gz
freebsd-ports-gnome-bbe517fc11c41a36f1d82e2d3cb2e547ce8dae85.tar.zst
freebsd-ports-gnome-bbe517fc11c41a36f1d82e2d3cb2e547ce8dae85.zip
Convert cad to MDOCS and MEXAMPLES
Diffstat (limited to 'cad/cider')
-rw-r--r--cad/cider/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cad/cider/Makefile b/cad/cider/Makefile
index 1be8085742d7..8de3a3f5c266 100644
--- a/cad/cider/Makefile
+++ b/cad/cider/Makefile
@@ -21,6 +21,9 @@ MLINKS= spice.1 spice3.1
USE_XORG= xt xaw xmu
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
pre-patch:
@${CP} -f ${WRKSRC}/spice/common/lib/helpdir/spice.txt ${WRKSRC}/cider/common/lib/helpdir/spice.txt
@@ -41,7 +44,7 @@ do-install:
@(cd ${WRKSRC}/cider/common && ${SETENV} ${MAKE_ENV} ${MAKE} install)
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/examples/spice3
@${INSTALL_DATA} ${WRKSRC}/spice/common/examples/*.cir ${PREFIX}/share/examples/spice3
@${MKDIR} ${PREFIX}/share/examples/cider