diff options
-rw-r--r-- | irc/rbot/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/irc/rbot/Makefile b/irc/rbot/Makefile index 32fd8d396164..0c1ea27259f4 100644 --- a/irc/rbot/Makefile +++ b/irc/rbot/Makefile @@ -25,9 +25,13 @@ SUB_FILES= pkg-message PORTDOCS= README REQUIREMENTS ChangeLog +.include <bsd.port.pre.mk> + post-install: - @${MKDIR} ${DOCSDIR} +.if !defined(NOPORTDOCS) + ${INSTALL} -d ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |