diff options
| author | toggtc | 2012-02-22 07:43:50 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-21 20:05:07 -0800 |
| commit | 67e6f4ecf5fad10ab7a1908828a8da5cd600dbf5 (patch) | |
| tree | ffdde9755391b5b62885e316dd57bb31376d8e54 /Library/Formula/ghostscript.rb | |
| parent | ba8a44949a40d42f29a609f66190c49b8ff55693 (diff) | |
| download | homebrew-67e6f4ecf5fad10ab7a1908828a8da5cd600dbf5.tar.bz2 | |
Ghostscript 9.05
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/ghostscript.rb')
| -rw-r--r-- | Library/Formula/ghostscript.rb | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index c2863fa94..0dcd011d8 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -1,32 +1,27 @@ require 'formula' class GhostscriptFonts < Formula - url 'http://downloads.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-8.11.tar.gz' homepage 'http://sourceforge.net/projects/gs-fonts/' + url 'http://downloads.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-8.11.tar.gz' md5 '6865682b095f8c4500c54b285ff05ef6' end class Ghostscript < Formula - url 'http://downloads.ghostscript.com/public/ghostscript-9.04.tar.bz2' - head 'git://git.ghostscript.com/ghostpdl.git' homepage 'http://www.ghostscript.com/' - md5 '9f6899e821ab6d78ab2c856f10fa3023' + url 'http://downloads.ghostscript.com/public/ghostscript-9.05.tar.gz' + md5 'f7c6f0431ca8d44ee132a55d583212c1' + + head 'git://git.ghostscript.com/ghostpdl.git' depends_on 'pkg-config' => :build depends_on 'jpeg' depends_on 'libtiff' - # The patches fix compilation against libpng 1.5, provided by Lion. - # Patch by @CharlieRoot - def patches - DATA unless ARGV.build_head? - end - def move_included_source_copies # If the install version of any of these doesn't match # the version included in ghostscript, we get errors # Taken from the MacPorts portfile - http://bit.ly/ghostscript-portfile - renames = [ "jpeg", "libpng", "zlib", "tiff" ] + renames = ["jpeg", "libpng", "tiff", "zlib"] renames << "freetype" if 10.7 <= MACOS_VERSION renames.each do |lib| mv lib, "#{lib}_local" @@ -59,26 +54,9 @@ class Ghostscript < Formula end GhostscriptFonts.new.brew do - Dir.chdir '..' - (share+'ghostscript').install 'fonts' + (share+'ghostscript').install '../fonts' end (man+'de').rmtree end end - -__END__ -diff --git a/base/Makefile.in b/base/Makefile.in -index 5b7847d..85e1a32 100644 ---- a/base/Makefile.in -+++ b/base/Makefile.in -@@ -375,7 +375,7 @@ LDFLAGS=@LDFLAGS@ $(XLDFLAGS) - # Solaris may need -lnsl -lsocket -lposix4. - # (Libraries required by individual drivers are handled automatically.) - --EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ -+EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ - - # Define the standard libraries to search at the end of linking. - # Most platforms require -lpthread for the POSIX threads library; - |
