aboutsummaryrefslogtreecommitdiff
path: root/network/weechat/weechat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/weechat/weechat.SlackBuild')
-rw-r--r--network/weechat/weechat.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/weechat/weechat.SlackBuild b/network/weechat/weechat.SlackBuild
index 1098af890a762..e9f93f32899fd 100644
--- a/network/weechat/weechat.SlackBuild
+++ b/network/weechat/weechat.SlackBuild
@@ -80,7 +80,8 @@ cd build
-DENABLE_JAVASCRIPT=OFF \
-DENABLE_PHP=OFF \
-DENABLE_PYTHON=ON \
- -DENABLE_DOC=OFF \
+ -DENABLE_DOC=${DOC:-OFF} \
+ -DENABLE_MAN=${DOC:-OFF} \
-DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release \
..
@@ -96,6 +97,9 @@ if [ -e $PKG/usr/share/man ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+if [ -e $PKG/usr/share/doc/$PRGNAM ]; then
+ mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html
+fi
cp -a \
AUTHORS.adoc COPYING ChangeLog.adoc README.adoc ReleaseNotes.adoc \
$PKG/usr/doc/$PRGNAM-$VERSION