From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 14 21:30:07 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F17EA106566C for ; Fri, 14 Mar 2008 21:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 962308FC1D for ; Fri, 14 Mar 2008 21:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2ELU1f7056185 for ; Fri, 14 Mar 2008 21:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2ELU1BY056184; Fri, 14 Mar 2008 21:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 14 Mar 2008 21:30:01 GMT Resent-Message-Id: <200803142130.m2ELU1BY056184@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anatoly Borodin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF62B106566B for ; Fri, 14 Mar 2008 21:28:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CF8D78FC12 for ; Fri, 14 Mar 2008 21:28:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2ELOmbK064287 for ; Fri, 14 Mar 2008 21:24:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2ELOmIt064286; Fri, 14 Mar 2008 21:24:48 GMT (envelope-from nobody) Message-Id: <200803142124.m2ELOmIt064286@www.freebsd.org> Date: Fri, 14 Mar 2008 21:24:48 GMT From: Anatoly Borodin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/121715: New port: graphics/cfdg Context Free Design Grammar compiler X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 21:30:07 -0000 >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 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 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: