summaryrefslogtreecommitdiff
path: root/www/vdradmin-am/files/patch-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/vdradmin-am/files/patch-install.sh')
-rw-r--r--www/vdradmin-am/files/patch-install.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/vdradmin-am/files/patch-install.sh b/www/vdradmin-am/files/patch-install.sh
new file mode 100644
index 000000000000..b6a540ba3004
--- /dev/null
+++ b/www/vdradmin-am/files/patch-install.sh
@@ -0,0 +1,11 @@
+--- a/install.sh
++++ b/install.sh
+@@ -148,7 +148,7 @@ function doInstall()
+
+ makeDir $LIBDIR 1 && cp -r template lib $LIBDIR || exit 1
+ makeDir $BINDIR || exit 1
+- makeDir $DOCDIR && cp -r contrib COPYING CREDITS HISTORY INSTALL LGPL.txt README* REQUIREMENTS FAQ $DOCDIR || exit 1
++ [ -n $NOPORTDOCS ] && makeDir $DOCDIR && cp -r contrib COPYING CREDITS HISTORY INSTALL LGPL.txt README* REQUIREMENTS FAQ $DOCDIR || exit 1
+ makeDir $MANDIR/man8 && cp vdradmind.pl.1 $MANDIR/man8/vdradmind.8 || exit 1
+
+ (