aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pngwriter.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/pngwriter.rb b/Library/Formula/pngwriter.rb
new file mode 100644
index 000000000..ddb56c198
--- /dev/null
+++ b/Library/Formula/pngwriter.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Pngwriter < Formula
+ url 'http://downloads.sourceforge.net/project/pngwriter/pngwriter/pngwriter-0.5.4/pngwriter-0.5.4.zip'
+ homepage 'http://pngwriter.sourceforge.net/'
+ md5 '7e0c20f2cce6da685b68d5e9b15b5207'
+
+ def install
+ # the zip file contains one more directory
+ cd("pngwriter-0.5.4")
+ # use the OSX specific makefile
+ ln_sf("make.include.osx", "make.include")
+ system "make PREFIX=#{prefix}"
+ system "make install PREFIX=#{prefix}"
+ end
+end