diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2008-05-24 06:51:36 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2008-05-24 06:51:36 +0000 |
commit | 94717e523429218114c4c7cdba39267dd31904b1 (patch) | |
tree | 78ebbcecd505b84d566b3bd6e7f6a3e586591acf /science/2d-rewriter | |
parent | 6ec7d6368c2a82af02f18dc07211e0bc95b9e84d (diff) | |
download | ports-94717e523429218114c4c7cdba39267dd31904b1.tar.gz ports-94717e523429218114c4c7cdba39267dd31904b1.zip |
[NEW PORT] graphics/2d-rewriter: Fractals generator based on pattern matching and rewriting
2d-rewriter is fractals generator based on pattern matching
and rewriting. The program takes input containing initial
object placement and rewriting rules and keeps applying
rules to the data field until it reaches an arrangement
where no rules can be applied.
PR: ports/118906
Submitted by: Igor Serikov <bt@turtle.freedns.us>
Notes
Notes:
svn path=/head/; revision=213588
Diffstat (limited to 'science/2d-rewriter')
-rw-r--r-- | science/2d-rewriter/Makefile | 26 | ||||
-rw-r--r-- | science/2d-rewriter/distinfo | 3 | ||||
-rw-r--r-- | science/2d-rewriter/pkg-descr | 19 | ||||
-rw-r--r-- | science/2d-rewriter/pkg-plist | 7 |
4 files changed, 55 insertions, 0 deletions
diff --git a/science/2d-rewriter/Makefile b/science/2d-rewriter/Makefile new file mode 100644 index 000000000000..4e678569a11a --- /dev/null +++ b/science/2d-rewriter/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: 2d-rewriter +# Date created: 8 December 2007 +# Whom: Igor Serikov <bt@turtle.freedns.us> +# +# $FreeBSD$ +# + +PORTNAME= 2d-rewriter +DISTVERSION= 1.2 +CATEGORIES= science +MASTER_SITES= http://www.crowdeduniverse.org/distfiles/ + +MAINTAINER= bt@turtle.freedns.us +COMMENT= Cellular automata simulator + +MAN1= 2d-rewriter.1 +MANCOMPRESSED= yes +USE_IMAKE= yes + +post-install: +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) +.endif + +.include <bsd.port.mk> diff --git a/science/2d-rewriter/distinfo b/science/2d-rewriter/distinfo new file mode 100644 index 000000000000..82cb932f9f16 --- /dev/null +++ b/science/2d-rewriter/distinfo @@ -0,0 +1,3 @@ +MD5 (2d-rewriter-1.2.tar.gz) = 4d8f01e10f518fe2bfa247737cf2ae11 +SHA256 (2d-rewriter-1.2.tar.gz) = 118fafb7ee916924126b89d89b1f4454735789cd2c36264985336f8190530092 +SIZE (2d-rewriter-1.2.tar.gz) = 15085 diff --git a/science/2d-rewriter/pkg-descr b/science/2d-rewriter/pkg-descr new file mode 100644 index 000000000000..dea5ecd5d675 --- /dev/null +++ b/science/2d-rewriter/pkg-descr @@ -0,0 +1,19 @@ +2d-rewriter is a cellular automata simulator. + + Key features + +Declarative input language for rules and initial patterns definition. + +Ability to emulate Conway's "Life Game" via proper rules specification. + +Ability to demonstrate self replicating loops. + +Patterns are tried in 4 orientations. + +Cell directions are defined against the pattern orientation. + +Total number of rules can be substantially decreased by using +sets and defining patterns using variables. + +Required run time environment is a minimal X window system installation +on an POSIX-compatible system (*BSD/Linux/Mac OS X/Cygwin/...). diff --git a/science/2d-rewriter/pkg-plist b/science/2d-rewriter/pkg-plist new file mode 100644 index 000000000000..4ba0332e24ba --- /dev/null +++ b/science/2d-rewriter/pkg-plist @@ -0,0 +1,7 @@ +bin/2d-rewriter +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/life.rules +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/life1.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/life2.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sierpinski.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/srloop.txt +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |