# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # 2d-rewriter # 2d-rewriter/pkg-plist # 2d-rewriter/Makefile # 2d-rewriter/pkg-descr # 2d-rewriter/distinfo # echo c - 2d-rewriter mkdir -p 2d-rewriter > /dev/null 2>&1 echo x - 2d-rewriter/pkg-plist sed 's/^X//' >2d-rewriter/pkg-plist << 'END-of-2d-rewriter/pkg-plist' Xbin/2d-rewriter X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/life.rules X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/life1.txt X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/life2.txt X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sierpinski.txt X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/srloop.txt X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% END-of-2d-rewriter/pkg-plist echo x - 2d-rewriter/Makefile sed 's/^X//' >2d-rewriter/Makefile << 'END-of-2d-rewriter/Makefile' X# New ports collection makefile for: 2d-rewriter X# Date created: 8 December 2007 X# Whom: Igor Serikov X# X# $FreeBSD$ X# X XPORTNAME= 2d-rewriter XDISTVERSION= 1.2 XCATEGORIES= science XMASTER_SITES= http://www.crowdeduniverse.org/distfiles/ X XMAINTAINER= bt@turtle.freedns.us XCOMMENT= Cellular automata simulator X XMAN1= 2d-rewriter.1 XMANCOMPRESSED= yes XUSE_IMAKE= yes X Xpost-install: X.if !defined(NOPORTEXAMPLES) X ${MKDIR} ${EXAMPLESDIR} X (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) X.endif X X.include END-of-2d-rewriter/Makefile echo x - 2d-rewriter/pkg-descr sed 's/^X//' >2d-rewriter/pkg-descr << 'END-of-2d-rewriter/pkg-descr' X2d-rewriter is a cellular automata simulator. X X Key features X XDeclarative input language for rules and initial patterns definition. X XAbility to emulate Conway's "Life Game" via proper rules specification. X XAbility to demonstrate self replicating loops. X XPatterns are tried in 4 orientations. X XCell directions are defined against the pattern orientation. X XTotal number of rules can be substantially decreased by using sets and defining Xpatterns using variables. X XRequired run time environment is a minimal X window system installation on an XPOSIX-compatible system (*BSD/Linux/Mac OS X/Cygwin/...). END-of-2d-rewriter/pkg-descr echo x - 2d-rewriter/distinfo sed 's/^X//' >2d-rewriter/distinfo << 'END-of-2d-rewriter/distinfo' XMD5 (2d-rewriter-1.2.tar.gz) = 4d8f01e10f518fe2bfa247737cf2ae11 XSHA256 (2d-rewriter-1.2.tar.gz) = 118fafb7ee916924126b89d89b1f4454735789cd2c36264985336f8190530092 XSIZE (2d-rewriter-1.2.tar.gz) = 15085 END-of-2d-rewriter/distinfo exit