aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-09-05 01:26:52 +0800
committerbeech <beech@FreeBSD.org>2008-09-05 01:26:52 +0800
commit3a2b9747031394f4c9c7b43b2a90f17c1797bf57 (patch)
tree37d5201853998aa99ab133e5994dcf1973893e6a /irc
parente78e80aee0afee138b802596b3dd94ef9d8a98d7 (diff)
downloadfreebsd-ports-gnome-3a2b9747031394f4c9c7b43b2a90f17c1797bf57.tar.gz
freebsd-ports-gnome-3a2b9747031394f4c9c7b43b2a90f17c1797bf57.tar.zst
freebsd-ports-gnome-3a2b9747031394f4c9c7b43b2a90f17c1797bf57.zip
- Wrap portdocs install in NOPORTDOCS variable
Reported By: QA Tindy
Diffstat (limited to 'irc')
-rw-r--r--irc/rbot/Makefile8
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>