diff --git a/Casks/alib1.rb b/Casks/alib1.rb index 1d9c24126c21..cd869c5ea8d2 100644 --- a/Casks/alib1.rb +++ b/Casks/alib1.rb @@ -13,8 +13,9 @@ system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName ALib1 (Presstube)', "#{staged_path}/presstube-alib1.app/Contents/Resources/Presstube - ALib1.saver/Contents/Info.plist" end + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS diff --git a/Casks/ap-grapher.rb b/Casks/ap-grapher.rb index 059a7b4fb53c..14a5ec01057d 100644 --- a/Casks/ap-grapher.rb +++ b/Casks/ap-grapher.rb @@ -10,8 +10,9 @@ app 'AP Grapher.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Warning: #{title} has been abandoned by its author, and the + Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the vendor homepage is defunct. This Cask downloads an untrusted copy from an alternative source. EOS diff --git a/Casks/cacoo-ninja.rb b/Casks/cacoo-ninja.rb index 29fd4f77c500..7ff4497db38d 100644 --- a/Casks/cacoo-ninja.rb +++ b/Casks/cacoo-ninja.rb @@ -12,8 +12,9 @@ uninstall :script => { :executable => 'Install Cacoo Ninja.app/Contents/MacOS/Install Cacoo Ninja' } + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS diff --git a/Casks/cdock.rb b/Casks/cdock.rb index 3be25bc0502b..2663e1430046 100644 --- a/Casks/cdock.rb +++ b/Casks/cdock.rb @@ -7,8 +7,10 @@ license :oss app 'cDock.app' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires easysimbl, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires easysimbl, available via brew cask install easysimbl EOS diff --git a/Casks/chirp.rb b/Casks/chirp.rb index 638c84426f4b..0cae8c9b1784 100644 --- a/Casks/chirp.rb +++ b/Casks/chirp.rb @@ -8,8 +8,9 @@ app "chirp-#{version}.app" + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} also requires the KK7DS Python Runtime as described at + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} also requires the KK7DS Python Runtime as described at http://chirp.danplanet.com/projects/chirp/wiki/Download#CHIRP-Downloads EOS diff --git a/Casks/chunkulus.rb b/Casks/chunkulus.rb index 416bcddab100..3429af499bd1 100644 --- a/Casks/chunkulus.rb +++ b/Casks/chunkulus.rb @@ -12,8 +12,9 @@ system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Chunkulus (Presstube)', "#{staged_path}/presstube-chunkulus.app/Contents/Resources/Presstube - Chunkulus.saver/Contents/Info.plist" end + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS diff --git a/Casks/craftstudio.rb b/Casks/craftstudio.rb index 3ac3c3ec5bf4..aed0e5a59fd3 100644 --- a/Casks/craftstudio.rb +++ b/Casks/craftstudio.rb @@ -12,8 +12,9 @@ :pkgutil => 'com.sparklinlabs.CraftStudioLauncher' zap :delete => '~/Library/CraftStudio' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires mono-mre, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires mono-mre, available via brew cask install mono-mre EOS diff --git a/Casks/delivery-status.rb b/Casks/delivery-status.rb index 137eddf71d47..4674063a69f6 100644 --- a/Casks/delivery-status.rb +++ b/Casks/delivery-status.rb @@ -7,8 +7,10 @@ license :oss widget 'Delivery Status.wdgt' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Currently, Dashboard Widgets such as '#{title}' do NOT work correctly + Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly when installed via brew-cask. The bug is being tracked here: https://github.com/caskroom/homebrew-cask/issues/2206 diff --git a/Casks/google-cloud-sdk.rb b/Casks/google-cloud-sdk.rb index 94416487f5da..50c0fadc9dd2 100644 --- a/Casks/google-cloud-sdk.rb +++ b/Casks/google-cloud-sdk.rb @@ -10,15 +10,16 @@ :args => %w{--usage-reporting false --bash-completion false --path-update false --rc-path false}, :sudo => false + # todo: transitional, replace #{self.name...} with #{token} caveats do - "#{title} is installed at #{staged_path}/#{title}. Add your profile: + "#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} is installed at #{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}. Add your profile: for bash users - source '#{staged_path}/#{title}/path.bash.inc' - source '#{staged_path}/#{title}/completion.bash.inc' + source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/path.bash.inc' + source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/completion.bash.inc' for zsh users - source '#{staged_path}/#{title}/path.zsh.inc' - source '#{staged_path}/#{title}/completion.zsh.inc'" + source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/path.zsh.inc' + source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/completion.zsh.inc'" end end diff --git a/Casks/grooveshark.rb b/Casks/grooveshark.rb index 7de43f728fa8..5cf0f822c0d9 100644 --- a/Casks/grooveshark.rb +++ b/Casks/grooveshark.rb @@ -7,8 +7,10 @@ license :unknown app 'Grooveshark.app' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Flash, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Flash, available via brew cask install flash EOS diff --git a/Casks/heart.rb b/Casks/heart.rb index a757a9c72c58..10f8747f82c0 100644 --- a/Casks/heart.rb +++ b/Casks/heart.rb @@ -12,8 +12,9 @@ system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Heart (Presstube)', "#{staged_path}/presstube-heart.app/Contents/Resources/Presstube - Heart.saver/Contents/Info.plist" end + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS diff --git a/Casks/icursor.rb b/Casks/icursor.rb index 32a341edb15f..031f45ead7aa 100644 --- a/Casks/icursor.rb +++ b/Casks/icursor.rb @@ -10,8 +10,9 @@ app 'iCursor.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Warning: #{title} has been abandoned by its author, and the + Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the vendor homepage is defunct. This Cask downloads an untrusted copy from an alternative source. EOS diff --git a/Casks/intellij-idea-ce.rb b/Casks/intellij-idea-ce.rb index bbce59a1ebf5..7e219b9480ad 100644 --- a/Casks/intellij-idea-ce.rb +++ b/Casks/intellij-idea-ce.rb @@ -19,13 +19,14 @@ '~/Library/Logs/IdeaIC14', ] + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} may require Java 7 (an older version), available from the + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} may require Java 7 (an older version), available from the caskroom-versions repository via brew cask install caskroom/versions/java7 - Alternatively, #{title} can be modified to use Java 8 as described in + Alternatively, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} can be modified to use Java 8 as described in https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932 EOS diff --git a/Casks/intellij-idea.rb b/Casks/intellij-idea.rb index 473f05b78791..02d92753a6af 100644 --- a/Casks/intellij-idea.rb +++ b/Casks/intellij-idea.rb @@ -17,13 +17,14 @@ '~/Library/Preferences/IntelliJIdea14', ] + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} may require Java 7 (an older version) available from the + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} may require Java 7 (an older version) available from the caskroom-versions repository via brew cask install caskroom/versions/java7 - Alternatively, #{title} can be modified to use Java 8 as described in + Alternatively, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} can be modified to use Java 8 as described in https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932 EOS diff --git a/Casks/ioquake3.rb b/Casks/ioquake3.rb index d009ea2be238..689dc6628389 100644 --- a/Casks/ioquake3.rb +++ b/Casks/ioquake3.rb @@ -8,8 +8,10 @@ license :unknown suite 'ioquake3' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - To complete the installation of #{title}, you will have to copy the file + To complete the installation of #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}, you will have to copy the file 'pak0.pk3' from your Quake 3 Arena installation support directory into ~/Applications/ioquake3/baseq3/. EOS diff --git a/Casks/keycastr.rb b/Casks/keycastr.rb index 354845763a9b..29ec3ca1656d 100644 --- a/Casks/keycastr.rb +++ b/Casks/keycastr.rb @@ -9,8 +9,9 @@ app 'KeyCastr.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - For OSX 10.9 or later, #{title} requires that you "Enable access for assistive devices". + For OSX 10.9 or later, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires that you "Enable access for assistive devices". The app must be dragged into the Accessibility list in System Preferences. See https://github.com/sdeken/keycastr/issues/5 EOS diff --git a/Casks/ksdiff.rb b/Casks/ksdiff.rb index bf4da266e144..623b0b0a2de0 100644 --- a/Casks/ksdiff.rb +++ b/Casks/ksdiff.rb @@ -9,9 +9,12 @@ pkg 'Install ksdiff.pkg' uninstall :pkgutil => 'com.blackpixel.kaleidoscope.ksdiff.installer.pkg' - # todo: conflicts_with_cask kaleidoscope + # todo + # conflicts_with :cask => 'kaleidoscope' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - The #{title} Cask is not needed when installing Kaleidoscope via Cask. It + The #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} Cask is not needed when installing Kaleidoscope via Cask. It is provided for users who have purchased Kaleidoscope via the App Store. EOS end diff --git a/Casks/multibrowser.rb b/Casks/multibrowser.rb index 81e423493803..05c194b2eff6 100644 --- a/Casks/multibrowser.rb +++ b/Casks/multibrowser.rb @@ -9,8 +9,9 @@ app 'MultiBrowser.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Warning: #{title} has been abandoned by its author, and the + Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the vendor homepage is defunct. This Cask downloads an untrusted copy from an alternative source. EOS diff --git a/Casks/pemdas-widget.rb b/Casks/pemdas-widget.rb index ee2d522a4531..3646180f8867 100644 --- a/Casks/pemdas-widget.rb +++ b/Casks/pemdas-widget.rb @@ -7,8 +7,10 @@ license :oss widget 'PEMDAS.wdgt' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Currently, Dashboard Widgets such as '#{title}' do NOT work correctly + Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly when installed via brew-cask. The bug is being tracked here: https://github.com/caskroom/homebrew-cask/issues/2206 diff --git a/Casks/qgis.rb b/Casks/qgis.rb index 608a5c71028d..188ec7b6ed53 100644 --- a/Casks/qgis.rb +++ b/Casks/qgis.rb @@ -8,8 +8,10 @@ pkg 'Install QGIS.pkg' uninstall :pkgutil => 'org.qgis.qgis-*' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires the GDAL framework and Matplotlib to be installed first, + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires the GDAL framework and Matplotlib to be installed first, otherwise the installation will fail. In case of problems, try installing them: diff --git a/Casks/sevenzx.rb b/Casks/sevenzx.rb index 88675e89b702..b2fea4916578 100644 --- a/Casks/sevenzx.rb +++ b/Casks/sevenzx.rb @@ -12,8 +12,9 @@ app '7zX.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Warning: #{title} has been abandoned by its author, and the + Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the vendor homepage is defunct. This Cask downloads an untrusted copy from an alternative source. EOS diff --git a/Casks/tv-show-tracker.rb b/Casks/tv-show-tracker.rb index 3d9ae27dc8fd..96354589d169 100644 --- a/Casks/tv-show-tracker.rb +++ b/Casks/tv-show-tracker.rb @@ -7,8 +7,10 @@ license :oss widget 'TV Show Tracker.wdgt' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Currently, Dashboard Widgets such as '#{title}' do NOT work correctly + Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly when installed via brew-cask. The bug is being tracked here: https://github.com/caskroom/homebrew-cask/issues/2206 diff --git a/Casks/tvrenamer.rb b/Casks/tvrenamer.rb index 9eeb55568b5b..15635c8b1259 100644 --- a/Casks/tvrenamer.rb +++ b/Casks/tvrenamer.rb @@ -7,8 +7,10 @@ license :gpl app "TVRenamer-#{version}.app" + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires a Java JRE to be installed. You should be prompted to install + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires a Java JRE to be installed. You should be prompted to install Java on the first execution if it is not already present. EOS end diff --git a/Casks/workamajig.rb b/Casks/workamajig.rb index a244baebf588..7ce0433618f2 100644 --- a/Casks/workamajig.rb +++ b/Casks/workamajig.rb @@ -9,8 +9,9 @@ app 'Workamajig.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS