diff options
author | adamw <adamw@FreeBSD.org> | 2014-01-03 23:53:42 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-01-03 23:53:42 +0800 |
commit | bbe517fc11c41a36f1d82e2d3cb2e547ce8dae85 (patch) | |
tree | 7ebb16ef28c161ae63aef766228c555d90ec2830 /cad/cider | |
parent | 257d988f480a12d8d661eb13fd3ffca39a8091ae (diff) | |
download | freebsd-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/Makefile | 5 |
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 |