Ghostscript 9.05
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
08260ef5ea
commit
c37090152a
1 changed files with 7 additions and 29 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue