mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
WinXX and MacOSX PCs and laptops to a server's disk. BackupPC is highly configurable and easy to install and maintain. PR: ports/149907 Submitted by: Alexander Moisseev <moiseev@mezonplus.ru>
31 lines
1.1 KiB
Raku
31 lines
1.1 KiB
Raku
--- configure.pl.orig 2010-07-31 21:52:58.000000000 +0400
|
|
+++ configure.pl 2010-08-16 15:34:17.000000000 +0400
|
|
@@ -241,6 +241,7 @@
|
|
$Conf{InstallDir} ||= $opts{"install-dir"} || "/usr/local/BackupPC";
|
|
$Conf{LogDir} ||= $opts{"log-dir"} || "$Conf{TopDir}/log";
|
|
}
|
|
+ $Conf{LogDir} = $opts{"log-dir"};
|
|
|
|
#
|
|
# These are the programs whose paths we need to find
|
|
@@ -521,7 +521,7 @@
|
|
#
|
|
# Create install directories
|
|
#
|
|
-foreach my $dir ( qw(bin doc
|
|
+foreach my $dir ( qw(bin
|
|
lib/BackupPC/CGI
|
|
lib/BackupPC/Config
|
|
lib/BackupPC/Lang
|
|
@@ -689,9 +689,9 @@
|
|
printf("Making Apache configuration file for suid-perl\n");
|
|
InstallFile("httpd/src/BackupPC.conf", "httpd/BackupPC.conf", 0644);
|
|
|
|
-printf("Installing docs in $DestDir$Conf{InstallDir}/doc\n");
|
|
+printf("Installing docs in WRKSRC\n");
|
|
foreach my $doc ( qw(BackupPC.pod BackupPC.html) ) {
|
|
- InstallFile("doc/$doc", "$DestDir$Conf{InstallDir}/doc/$doc", 0444);
|
|
+ InstallFile("doc/$doc", "./$doc", 0444);
|
|
}
|
|
|
|
printf("Installing config.pl and hosts in $DestDir$Conf{ConfDir}\n");
|