aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gengetopt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gengetopt/Makefile')
-rw-r--r--devel/gengetopt/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/gengetopt/Makefile b/devel/gengetopt/Makefile
index d51d06971ba6..6fc63059424f 100644
--- a/devel/gengetopt/Makefile
+++ b/devel/gengetopt/Makefile
@@ -19,4 +19,12 @@ USE_GMAKE= yes
MAN1= gengetopt.1
+.if defined(NOPORTDOCS)
+do-install:
+ @cd ${INSTALL_WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install
+ @cd ${INSTALL_WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-man
+.endif
+
.include <bsd.port.mk>