aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/gnuchess/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index 90e2b706a317..9db229531331 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -44,7 +44,7 @@ post-build:
post-install:
${LN} -f ${PREFIX}/bin/gnuchess ${PREFIX}/bin/gnuchessx
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPITONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/doc/* ${DOCSDIR}
.endif