diff options
Diffstat (limited to 'security/autossh/Makefile')
-rw-r--r-- | security/autossh/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/security/autossh/Makefile b/security/autossh/Makefile index b3dcf12e6c0a..eed9b131cad3 100644 --- a/security/autossh/Makefile +++ b/security/autossh/Makefile @@ -23,5 +23,8 @@ post-patch: @${REINPLACE_CMD} -e 's,cp autossh.1 ,$$\{BSD_INSTALL_MAN\} autossh.1 ,g' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e 's,cp autossh ,$$\{BSD_INSTALL_PROGRAM\} autossh ,g' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e 's,cp ,$$\{BSD_INSTALL_DATA\} ,g' ${WRKSRC}/${MAKEFILE} +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -Ee 's,(.*doc.*),#\1,g' ${WRKSRC}/${MAKEFILE} +.endif .include <bsd.port.mk> |