aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ngircd
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-12-10 01:59:20 +0800
committerdinoex <dinoex@FreeBSD.org>2010-12-10 01:59:20 +0800
commite85cc5f7fd5f06f53d33de07ede2d457de737f19 (patch)
treea51e43c61adf4d12c794611e030770064dbbc1cc /irc/ngircd
parentc562039aaa5b864ecc2d2b96546d4c47f8c7bcf7 (diff)
downloadfreebsd-ports-gnome-e85cc5f7fd5f06f53d33de07ede2d457de737f19.tar.gz
freebsd-ports-gnome-e85cc5f7fd5f06f53d33de07ede2d457de737f19.tar.zst
freebsd-ports-gnome-e85cc5f7fd5f06f53d33de07ede2d457de737f19.zip
- fix build with NOPORTDOCS
Reported by: QAT
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