aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/djview4.rb17
1 files changed, 7 insertions, 10 deletions
diff --git a/Library/Formula/djview4.rb b/Library/Formula/djview4.rb
index d742baa81..634c8f155 100644
--- a/Library/Formula/djview4.rb
+++ b/Library/Formula/djview4.rb
@@ -1,29 +1,26 @@
require 'formula'
class Djview4 < Formula
- url 'http://sourceforge.net/projects/djvu/files/DjView/4.6/djview4-4.6.tar.gz'
+ url 'http://sourceforge.net/projects/djvu/files/DjView/4.8/djview-4.8.tar.gz'
homepage 'http://djvu.sourceforge.net/djview4.html'
- md5 '642105970467cf0864c0073140d1fa11'
+ md5 '70ef8f416c7d6892cc0cf012bfd0ae07'
depends_on 'pkg-config' => :build
depends_on 'djvulibre'
depends_on 'qt'
def install
- # Added bug upstream to fix this:
- # https://sourceforge.net/tracker/?func=detail&aid=3146507&group_id=32953&atid=406583
- inreplace "Makefile.in" do |s|
- s.gsub! '${INSTALL_PROGRAM} src/djview ${DESTDIR}${bindir}/djview4', '/bin/cp -r src/djview.app ${DESTDIR}${prefix}'
- end
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-x=no",
"--disable-desktopfiles"
system "make"
- system "make install"
- # Remove bad symlink created by make install
- bin.rmtree
+
+ # From the djview4.8 README:
+ # Note3: Do not use command "make install".
+ # Simply copy the application bundle where you want it.
+ prefix.install 'src/djview.app'
end
def caveats; <<-EOS