aboutsummaryrefslogtreecommitdiff
path: root/irc/ngircd
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-12-09 17:59:20 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-12-09 17:59:20 +0000
commit29421e3b83e4a316703f0aa429daa3a4c60b7fd7 (patch)
treeeb1cebf3a27c48d2612ee3f3e12ea9a16c9b67c3 /irc/ngircd
parent18ea98ce984fd5c985a6ff4bef539e018b13805d (diff)
downloadports-29421e3b83e4a316703f0aa429daa3a4c60b7fd7.tar.gz
ports-29421e3b83e4a316703f0aa429daa3a4c60b7fd7.zip
- fix build with NOPORTDOCS
Reported by: QAT
Notes
Notes: svn path=/head/; revision=265930
Diffstat (limited to 'irc/ngircd')
-rw-r--r--irc/ngircd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/irc/ngircd/Makefile b/irc/ngircd/Makefile
index 6bf04d060fb5..bc5e2058447a 100644
--- a/irc/ngircd/Makefile
+++ b/irc/ngircd/Makefile
@@ -81,8 +81,14 @@ CONFIGURE_ARGS+= --enable-sniffer
CONFIGURE_ARGS+= --enable-debug
.endif
-post-install:
+.if defined(NOPORTDOCS)
+post-patch:
+ ${REINPLACE_CMD} -e 's|SUBDIRS = doc src|SUBDIRS = src|' \
+ ${WRKSRC}/Makefile.in
+.endif
+
.if !defined(NOPORTDOCS)
+post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif