SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
install = '/usr/bin/install INSTALL_ARGS'
c = RbConfig::CONFIG
m = RbConfig::MAKEFILE_CONFIG
if v = ENV['BSD_INSTALL_SCRIPT']
m['INSTALL'] = c['INSTALL'] = v.sub('-m 755', '')
m['INSTALL_SCRIPT'] = c['INSTALL_SCRIPT'] = v
else
m['INSTALL'] = c['INSTALL'] = "#{install}"
m['INSTALL_SCRIPT'] = c['INSTALL_SCRIPT'] = "#{install} -m 755"
end
if v = ENV['BSD_INSTALL_PROGRAM']
m['INSTALL_PROGRAM'] = c['INSTALL_PROGRAM'] = v
else
m['INSTALL_PROGRAM'] = c['INSTALL_PROGRAM'] = "#{install} -s -m 755"
end
if v = ENV['BSD_INSTALL_DATA']
m['INSTALL_DATA'] = c['INSTALL_DATA'] = v
else
m['INSTALL_DATA'] = c['INSTALL_DATA'] = "#{install} -m 644"
end