aboutsummaryrefslogtreecommitdiff
path: root/irc
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
parent18ea98ce984fd5c985a6ff4bef539e018b13805d (diff)
downloadports-29421e3b83e4a316703f0aa429daa3a4c60b7fd7.tar.gz
ports-29421e3b83e4a316703f0aa429daa3a4c60b7fd7.zip
Notes
Diffstat (limited to 'irc')
-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