2010-04-19 16:17:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Webfs < Formula
|
2010-04-19 16:17:05 +00:00
|
|
|
url 'http://dl.bytesex.org/releases/webfs/webfs-1.21.tar.gz'
|
|
|
|
homepage 'http://linux.bytesex.org/misc/webfs.html'
|
|
|
|
md5 '6dc125fe160479404147e7bbfc781dbc'
|
|
|
|
|
|
|
|
def patches
|
2012-01-22 18:34:22 +00:00
|
|
|
{:p0 => "https://trac.macports.org/export/21504/trunk/dports/www/webfs/files/patch-ls.c"}
|
2010-04-19 16:17:05 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV["prefix"]=prefix
|
|
|
|
system "make install mimefile=/etc/apache2/mime.types"
|
|
|
|
end
|
|
|
|
end
|