Skip to content

Instantly share code, notes, and snippets.

@zimbatm
Created April 14, 2010 19:41
Show Gist options
  • Save zimbatm/366236 to your computer and use it in GitHub Desktop.
Save zimbatm/366236 to your computer and use it in GitHub Desktop.
WebFS formula
From 419bdcfc4215da2aa4c2bb1b528360397f55c02d Mon Sep 17 00:00:00 2001
From: Jonas Pfenniger <jonas@pfenniger.name>
Date: Wed, 14 Apr 2010 21:39:07 +0200
Subject: [PATCH] Added webfs formula
---
Library/Formula/webfs.rb | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
create mode 100644 Library/Formula/webfs.rb
diff --git a/Library/Formula/webfs.rb b/Library/Formula/webfs.rb
new file mode 100644
index 0000000..ba02a61
--- /dev/null
+++ b/Library/Formula/webfs.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Webfs <Formula
+ url 'http://dl.bytesex.org/releases/webfs/webfs-1.21.tar.gz'
+ homepage 'http://linux.bytesex.org/misc/webfs.html'
+ md5 '6dc125fe160479404147e7bbfc781dbc'
+
+ def patches
+ {:p0 => "http://svn.macports.org/repository/macports/trunk/dports/www/webfs/files/patch-ls.c"}
+ end
+
+ def install
+ ENV["prefix"]=prefix
+ system "make install mimefile=/etc/apache2/mime.types"
+ end
+end
--
1.7.0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment