aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gdsreader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gdsreader/Makefile')
-rw-r--r--cad/gdsreader/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cad/gdsreader/Makefile b/cad/gdsreader/Makefile
index 973721157427..ceca6fa8424d 100644
--- a/cad/gdsreader/Makefile
+++ b/cad/gdsreader/Makefile
@@ -19,9 +19,12 @@ PLIST_FILES= bin/gdsreader bin/maptolayer \
PLIST_DIRS= ${EXAMPLESDIR_REL}
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
post-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-data
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-docs
.endif