aboutsummaryrefslogtreecommitdiffstats
path: root/cad/varkon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/varkon/Makefile')
-rw-r--r--cad/varkon/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cad/varkon/Makefile b/cad/varkon/Makefile
index 7d24a189aa13..f846b2376163 100644
--- a/cad/varkon/Makefile
+++ b/cad/varkon/Makefile
@@ -27,6 +27,9 @@ MAKE_JOBS_UNSAFE= yes
VARKON_PREFIX= ${PREFIX}/lib/${PORTNAME}
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
post-extract:
@${FIND} ${WRKSRC} -name "*.o" -delete
@@ -58,7 +61,7 @@ do-install:
@${MKDIR} ${VARKON_PREFIX}/cnf/ini
(cd ${WRKSRC}/cnf/ini/english && ${INSTALL_DATA} linux \
${VARKON_PREFIX}/cnf/ini/freebsd)
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} #Varkon Manual
@(cd ${WRKSRC}/man && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif