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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'a38880d8cb21e415244d220115ede7b573ac890c'
|
2010-04-19 16:17:05 +00:00
|
|
|
|
|
|
|
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
|