From b2b309c9800c929770df39e236dbe4e52e48de6d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 13 May 2010 18:15:52 -0700 Subject: Updated sloccount * Replaced most of the patch with commands in def install --- Library/Formula/sloccount.rb | 48 ++++++-------------------------------------- 1 file changed, 6 insertions(+), 42 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/sloccount.rb b/Library/Formula/sloccount.rb index 4f7a281e0..c5b8d4347 100644 --- a/Library/Formula/sloccount.rb +++ b/Library/Formula/sloccount.rb @@ -1,36 +1,23 @@ require 'formula' class Sloccount "jsp", # Java server pages + "erl" => "erlang", ); - - -diff --git a/erlang_count b/erlang_count -new file mode 100755 -index 0000000..50af97c ---- /dev/null -+++ b/erlang_count -@@ -0,0 +1,3 @@ -+#!/bin/sh -+ -+generic_count '%' $@ -diff --git a/makefile b/makefile -index 0c029f1..7b446d5 100644 ---- a/makefile -+++ b/makefile -@@ -95,6 +95,7 @@ EXECUTABLES= \ - count_extensions \ - count_unknown_ext \ - csh_count \ -+ erlang_count \ - exp_count \ - fortran_count \ - f90_count \ -- cgit v1.2.3