aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNikolaus Wittenstein2012-10-19 09:31:50 -0700
committerAdam Vandenberg2012-10-20 10:14:03 -0700
commitd601647f0e00c7fb72d9de624d8dcf86ba414961 (patch)
tree1046e3e9ed7d006aa5f27c73f7e6365861787f74 /Library/Formula
parent25e693cedc421aae6723b6842d144fdb51a696ba (diff)
downloadhomebrew-d601647f0e00c7fb72d9de624d8dcf86ba414961.tar.bz2
Remove xaw3d
Closes #15518 xaw3d depends on X11 and is therefore deprecated Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xaw3d.rb35
1 files changed, 0 insertions, 35 deletions
diff --git a/Library/Formula/xaw3d.rb b/Library/Formula/xaw3d.rb
deleted file mode 100644
index c696f12d6..000000000
--- a/Library/Formula/xaw3d.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-require 'formula'
-
-class Xaw3d < Formula
- homepage 'http://freshmeat.net/projects/xaw3d'
- url 'ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-1.5E.tar.gz'
- sha1 'efc5b923feda52866c859c59a5b553cb675a69d1'
-
- depends_on 'imake' => :build
- depends_on :x11
-
- def install
- inreplace 'lib/Xaw3d/Imakefile', 'XCOMM EXTRA_INCLUDES', 'EXTRA_INCLUDES'
- cd 'lib/Xaw3d' do
- mkdir 'X11' do
- # TODO - surely this symlink can be made without the cd
- ln_s '..', 'Xaw3d'
- end
-
- system 'xmkmf'
-
- # force usage of /usr/X11/lib when linking, and install into the Cellar
- # apparently s.change_make_var! silently fails when Makefile variables
- # are preceded by whitespace, so do it manually
- inreplace 'Makefile' do |s|
- s.gsub! 'LDPRELIB = -L$(USRLIBDIR)', 'LDPRELIB = -L$(USRLIBDIR) $(LDFLAGS)'
- s.gsub! 'USRLIBDIR = /usr/local/lib', "USRLIBDIR = #{lib}"
- s.gsub! 'SHLIBDIR = /usr/local/lib', "SHLIBDIR = #{lib}"
- s.gsub! 'INCROOT = /usr/local/include', "INCROOT = #{include}"
- end
-
- system 'make'
- system 'make install'
- end
- end
-end