Date: Fri, 14 Mar 2008 21:24:48 GMT From: Anatoly Borodin <anatoly.borodin@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121715: New port: graphics/cfdg Context Free Design Grammar compiler Message-ID: <200803142124.m2ELOmIt064286@www.freebsd.org> Resent-Message-ID: <200803142130.m2ELU1BY056184@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121715 >Category: ports >Synopsis: New port: graphics/cfdg Context Free Design Grammar compiler >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 14 21:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Anatoly Borodin >Release: FreeBSD 7.0-STABLE >Organization: >Environment: FreeBSD fractal.home 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Mar 12 23:18:20 EET 2008 anatoly.borodin@gmail.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Context Free Design Grammar compiler. About CFDG: Chris Coyne created a small language for design grammars called CFDG. These grammars are sets of non-deterministic rules to produce images. The images are surprisingly beautiful, often from very simple grammars. Context Free is a full graphical environment for editing, rendering, and exploring CFDG design grammars. Features: * Simultaneously available for Macintosh, Windows and Posix/Unix. * Progressive image update: watch it generate * Save generated images in PNG or SVG format. * Produce animations * Edit grammars and re-render easily. * Render very large images (as large as 100 Mega-pixels). * Can handle generated images with millions of shapes. * Carefully tuned graphics rendering * Many built-in examples * Automatic checking for updates (Mac only). * It's free, as in beer and as in speech. WWW: http://www.contextfreeart.org/ >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # cfdg # cfdg/pkg-descr # cfdg/Makefile # cfdg/pkg-plist # cfdg/distinfo # cfdg/files # cfdg/files/patch-Makefile # echo c - cfdg mkdir -p cfdg > /dev/null 2>&1 echo x - cfdg/pkg-descr sed 's/^X//' >cfdg/pkg-descr << 'END-of-cfdg/pkg-descr' XContext Free Design Grammar compiler. X XAbout CFDG: X XChris Coyne created a small language for design grammars called CFDG. XThese grammars are sets of non-deterministic rules to produce images. XThe images are surprisingly beautiful, often from very simple grammars. XContext Free is a full graphical environment for editing, rendering, Xand exploring CFDG design grammars. X XFeatures: X* Simultaneously available for Macintosh, Windows and Posix/Unix. X* Progressive image update: watch it generate X* Save generated images in PNG or SVG format. X* Produce animations X* Edit grammars and re-render easily. X* Render very large images (as large as 100 Mega-pixels). X* Can handle generated images with millions of shapes. X* Carefully tuned graphics rendering X* Many built-in examples X* Automatic checking for updates (Mac only). X* It's free, as in beer and as in speech. X XWWW: http://www.contextfreeart.org/ END-of-cfdg/pkg-descr echo x - cfdg/Makefile sed 's/^X//' >cfdg/Makefile << 'END-of-cfdg/Makefile' X# New ports collection makefile for: cfdg X# Date created: 2008-03-14 X# Whom: Anatoly Borodin <anatoly.borodin@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= cfdg XPORTVERSION= 2.1 XCATEGORIES= graphics math XMASTER_SITES= http://www.contextfreeart.org/download/ XDISTNAME= ContextFreeSource${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= anatoly.borodin@gmail.com XCOMMENT= Context Free Design Grammar compiler X XLIB_DEPENDS= png.5:${PORTSDIR}/graphics/png X XUSE_BISON= build XUSE_GMAKE= yes X XNO_INSTALL_MANPAGES= yes X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/cfdg ${PREFIX}/bin X ${MKDIR} ${EXAMPLESDIR} X ${INSTALL_DATA} ${WRKSRC}/input/* ${EXAMPLESDIR} X X.include <bsd.port.mk> END-of-cfdg/Makefile echo x - cfdg/pkg-plist sed 's/^X//' >cfdg/pkg-plist << 'END-of-cfdg/pkg-plist' Xbin/cfdg X%%EXAMPLESDIR%%/aliastest.cfdg X%%EXAMPLESDIR%%/alphabet.cfdg X%%EXAMPLESDIR%%/chanukah.cfdg X%%EXAMPLESDIR%%/cilia.cfdg X%%EXAMPLESDIR%%/ciliasun.cfdg X%%EXAMPLESDIR%%/demo1.cfdg X%%EXAMPLESDIR%%/demo2.cfdg X%%EXAMPLESDIR%%/dong.cfdg X%%EXAMPLESDIR%%/funky_flower.cfdg X%%EXAMPLESDIR%%/i_curves.cfdg X%%EXAMPLESDIR%%/i_pix.cfdg X%%EXAMPLESDIR%%/i_polygons.cfdg X%%EXAMPLESDIR%%/lesson.cfdg X%%EXAMPLESDIR%%/lesson2.cfdg X%%EXAMPLESDIR%%/line_ending_tests.tgz X%%EXAMPLESDIR%%/mtree.cfdg X%%EXAMPLESDIR%%/octopi.cfdg X%%EXAMPLESDIR%%/point.cfdg X%%EXAMPLESDIR%%/quadcity.cfdg X%%EXAMPLESDIR%%/rendering-tests.cfdg X%%EXAMPLESDIR%%/rose.cfdg X%%EXAMPLESDIR%%/sierpinski.cfdg X%%EXAMPLESDIR%%/snowflake.cfdg X%%EXAMPLESDIR%%/tangle.cfdg X%%EXAMPLESDIR%%/thingy.cfdg X%%EXAMPLESDIR%%/thorns.cfdg X%%EXAMPLESDIR%%/tree_number_5.cfdg X%%EXAMPLESDIR%%/triples.cfdg X%%EXAMPLESDIR%%/underground.cfdg X%%EXAMPLESDIR%%/weighting_demo.cfdg X%%EXAMPLESDIR%%/welcome.cfdg X%%EXAMPLESDIR%%/xmas.cfdg X%%EXAMPLESDIR%%/ziggy.cfdg X@dirrm %%EXAMPLESDIR%% END-of-cfdg/pkg-plist echo x - cfdg/distinfo sed 's/^X//' >cfdg/distinfo << 'END-of-cfdg/distinfo' XMD5 (ContextFreeSource2.1.tgz) = 477242e74c4f953ceca7bf06e944a46e XSHA256 (ContextFreeSource2.1.tgz) = 041a67e34292c898890568fe7236eaafd1608d196951bdaccedeb2275ca198b4 XSIZE (ContextFreeSource2.1.tgz) = 1363136 END-of-cfdg/distinfo echo c - cfdg/files mkdir -p cfdg/files > /dev/null 2>&1 echo x - cfdg/files/patch-Makefile sed 's/^X//' >cfdg/files/patch-Makefile << 'END-of-cfdg/files/patch-Makefile' X--- Makefile.orig 2007-04-29 08:51:20.000000000 +0300 X+++ Makefile 2008-03-14 21:17:24.000000000 +0200 X@@ -52,7 +52,7 @@ X # Under Cygwin replace strip $@ with strip $@.exe X X cfdg: $(OBJS) X- $(LINK.o) $^ -L/usr/local/lib -lstdc++ -lpng -lz -fexceptions -o $@ X+ $(LINK.o) $^ `libpng-config --ldflags` -lstdc++ -fexceptions -o $@ X strip $@ X X X@@ -103,7 +103,7 @@ X # X X CPPFLAGS += $(patsubst %,-I%,$(INC_DIRS)) X-CPPFLAGS += -O3 X+CPPFLAGS += `libpng-config --cflags` X #CPPFLAGS += -ggdb X X $(OBJ_DIR)/%.o : %.cpp END-of-cfdg/files/patch-Makefile exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803142124.m2ELOmIt064286>