freebsd-ports/devel/simian/files/simian.in
Edwin Groothuis 15da4fd749 [NEW PORT] devel/simian: simlarity analysis for source code
Simian is a program for checking source (and all kinds of
	text files) for repeating blocks.

	Simian (Similarity Analyser) identifies duplication in Java,
	C#, C, C++, COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic
	source code and even plain text files.  In fact, simian can
	be used on any human readable files such as ini files,
	deployment descriptors, you name it.

	Note: The port uses the java version by default. You can
	select the .NET version via WITH_MONO=yes, and disable
	installation of the java parts with WITHOUT_JAVA=yes.

	WWW: http://www.redhillconsulting.com.au/products/simian/

PR:		ports/83315
Submitted by:	Andreas Kohn <andreas@syndrom23.de>
2005-12-29 00:46:44 +00:00

12 lines
274 B
Bash

#!/bin/sh
%%JAVA%%MONO=
%%MONO%%MONO=%%LOCALBASE%%/bin/mono
%%MONO%%
%%MONO%%$MONO %%PREFIX%%/simian/bin/simian-%%VERSION%%.exe $@
%%JAVA%%if [ "$MONO" = "" ]; then
%%JAVA%% JAVA=`which java`
%%JAVA%% $JAVA -jar %%PREFIX%%/simian/bin/simian-%%VERSION%%.jar $@
%%JAVA%%fi