ports/158005: [maintainer update] graphics/cfdg: 2.2.1 -> 2.2.2

Anatoly Borodin anatoly.borodin at gmail.com
Sat Jun 18 23:10:12 UTC 2011


>Number:         158005
>Category:       ports
>Synopsis:       [maintainer update] graphics/cfdg: 2.2.1 -> 2.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 18 23:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Borodin
>Release:        
>Organization:
>Environment:
>Description:
Update graphics/cfdg from 2.2.1 to 2.2.2. License added. pkg-plist created dynamically.

Changed files:

graphics/cfdg/Makefile                                
graphics/cfdg/distinfo
graphics/cfdg/files/patch-Makefile

Deleted files:
                    
graphics/cfdg/pkg-plist
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

>From cff129a845062e543a6bfdee349769e07403a26f Mon Sep 17 00:00:00 2001
From: Anatoly Borodin <anatoly.borodin at gmail.com>
Date: Sat, 5 Jun 2010 21:26:45 +0200
Subject: [PATCH 2/5] TBC: graphics/cfdg: 2.2.1 -> 2.2.2

PORTEXAMPLES etc
license
---
 graphics/cfdg/Makefile             |   15 ++++++++++++---
 graphics/cfdg/distinfo             |    5 ++---
 graphics/cfdg/files/patch-Makefile |   12 ++++++------
 graphics/cfdg/pkg-plist            |   34 ----------------------------------
 4 files changed, 20 insertions(+), 46 deletions(-)
 delete mode 100644 graphics/cfdg/pkg-plist

diff --git graphics/cfdg/Makefile graphics/cfdg/Makefile
index 0cde644..9527cdb 100644
--- graphics/cfdg/Makefile
+++ graphics/cfdg/Makefile
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	cfdg
-PORTVERSION=	2.2.1
-PORTREVISION=	1
+PORTVERSION=	2.2.2
 CATEGORIES=	graphics math
 MASTER_SITES=	http://www.contextfreeart.org/download/ \
 		http://glyphic.s3.amazonaws.com/cfa/download/
@@ -19,11 +18,21 @@ COMMENT=	Context Free Design Grammar compiler
 
 LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png
 
-USE_BISON=	build
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+WRKSRC=		${WRKDIR}/${DISTNAME}${EXTRACT_SUFX}
+
 USE_GMAKE=	yes
 
 NO_INSTALL_MANPAGES=	yes
 
+PLIST_FILES=	bin/cfdg
+
+.if !defined(NOPORTEXAMPLES)
+PORTEXAMPLES=	*
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cfdg ${PREFIX}/bin
 .if !defined(NOPORTEXAMPLES)
diff --git graphics/cfdg/distinfo graphics/cfdg/distinfo
index d51a193..426dc50 100644
--- graphics/cfdg/distinfo
+++ graphics/cfdg/distinfo
@@ -1,3 +1,2 @@
-MD5 (ContextFreeSource2.2.1.tgz) = e9cc2acb195aaa1098781d061e0a4311
-SHA256 (ContextFreeSource2.2.1.tgz) = e4a23cb0f844e1d58cb85ca62c6970cd6c7549d5bccd067b83d611583465c3fd
-SIZE (ContextFreeSource2.2.1.tgz) = 1606247
+SHA256 (ContextFreeSource2.2.2.tgz) = 2524726ee9a5df7c7dd4ce31364fad8fe2fcad930e0d88af5cf2c6148017705e
+SIZE (ContextFreeSource2.2.2.tgz) = 1635320
diff --git graphics/cfdg/files/patch-Makefile graphics/cfdg/files/patch-Makefile
index 6209228..b232448 100644
--- graphics/cfdg/files/patch-Makefile
+++ graphics/cfdg/files/patch-Makefile
@@ -1,20 +1,20 @@
---- Makefile.orig
-+++ Makefile
-@@ -54,7 +54,7 @@ $(OBJS): $(OBJ_DIR)/Sentry
+--- ./Makefile.orig	2010-09-13 06:15:25.000000000 +0200
++++ ./Makefile	2011-06-18 21:42:16.000000000 +0200
+@@ -54,7 +54,7 @@
  # Under Cygwin replace strip $@ with strip $@.exe
  
  cfdg: $(OBJS)
 -	$(LINK.o) $^ -L/usr/local/lib -lstdc++ -lpng -lz -fexceptions -o $@
-+	$(LINK.o) $^ `libpng-config --ldflags` -lstdc++ -fexceptions -o $@
++	$(LINK.o) $^ $(shell libpng-config --ldflags) -lstdc++ -fexceptions -o $@
  	strip $@
  
  
-@@ -105,7 +105,7 @@ $(OUTPUT_DIR)/rtest-2k.png: cfdg $(RTEST_CFDG)
+@@ -105,7 +105,7 @@
  #
  
  CPPFLAGS += $(patsubst %,-I%,$(INC_DIRS))
 -CPPFLAGS += -O3 -Wall
-+CPPFLAGS += -Wall `libpng-config --cflags`
++CPPFLAGS += -O3 -Wall $(shell libpng-config --cflags)
  #CPPFLAGS += -ggdb
  
  $(OBJ_DIR)/%.o : %.cpp
diff --git graphics/cfdg/pkg-plist graphics/cfdg/pkg-plist
deleted file mode 100644
index a6f26a5..0000000
--- graphics/cfdg/pkg-plist
+++ /dev/null
@@ -1,34 +0,0 @@
-bin/cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aliastest.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alphabet.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chanukah.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cilia.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ciliasun.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo1.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo2.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/funky_flower.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/i_curves.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/i_pix.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/i_polygons.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lesson.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lesson2.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_ending_tests.tgz
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mtree.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/octopi.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/point.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quadcity.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rendering-tests.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rose.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sierpinski.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/snowflake.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tangle.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thingy.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thorns.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tree_number_5.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/triples.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/underground.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/weighting_demo.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/welcome.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xmas.cfdg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ziggy.cfdg
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-- 
1.7.5.3



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list