aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorStefan Schüßler2012-04-04 12:31:13 +0200
committerAdam Vandenberg2012-04-16 21:52:45 -0700
commit073d0b95fbcbcebc6cb2b128ca86bc038cd5cf0f (patch)
treee846107037e2a377bdd8b503a741b3156e986f49 /Library
parent78c58feda7ae326b98933a6ccd71d6c263ac2b67 (diff)
downloadhomebrew-073d0b95fbcbcebc6cb2b128ca86bc038cd5cf0f.tar.bz2
gbdfed 1.6
gbdfed is a font editor for bitmap fonts: http://sofia.nmsu.edu/~mleisher/Software/gbdfed/ Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gbdfed.rb37
1 files changed, 37 insertions, 0 deletions
diff --git a/Library/Formula/gbdfed.rb b/Library/Formula/gbdfed.rb
new file mode 100644
index 000000000..a37376e2b
--- /dev/null
+++ b/Library/Formula/gbdfed.rb
@@ -0,0 +1,37 @@
+require 'formula'
+
+class Gbdfed < Formula
+ homepage 'http://sofia.nmsu.edu/~mleisher/Software/gbdfed/'
+ url 'http://sofia.nmsu.edu/~mleisher/Software/gbdfed/gbdfed-1.6.tar.gz'
+ md5 '5a1668adfc2afa435feda5e3737ceaee'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'gtk+'
+
+ # Fixes compilation error with gtk+ per note on the project homepage.
+ def patches
+ DATA
+ end
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end
+
+__END__
+diff --git a/Makefile.in b/Makefile.in
+index b482958..10a528e 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -28,8 +28,7 @@ CC = @CC@
+ CFLAGS = @XX_CFLAGS@ @CFLAGS@
+
+ DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
+- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED
++ -DGDK_PIXBUF_DISABLE_DEPRECATED
+
+ SRCS = bdf.c \
+ bdfcons.c \