Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 13:41:09 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/25431: Update port: graphics/graphviz 1.7c
Message-ID:  <200102272141.f1RLf9Y46474@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25431
>Category:       ports
>Synopsis:       Update port: graphics/graphviz 1.7c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 27 13:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.7c

New file:
files/patch-dotneato:dot.c  files/patch-dotneato:neato.c

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/graphviz/Makefile graphics/graphviz/Makefile
--- /usr/ports/graphics/graphviz/Makefile	Mon Dec 11 20:23:50 2000
+++ graphics/graphviz/Makefile	Tue Feb 27 22:46:53 2001
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	graphviz
-PORTVERSION=	1.7b
+PORTVERSION=	1.7c
 CATEGORIES=	graphics tk83
 MASTER_SITES=	http://www.research.att.com/sw/tools/graphviz/
-DISTNAME=	gviz17b
+DISTNAME=	gviz${PORTVERSION:S/.//}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
@@ -33,11 +33,26 @@
 INSTALLS_SHLIB=	yes
 LDCONFIG_DIRS=	${PREFIX}/lib/graphviz
 
-MAN1=	dot.1 dotty.1 lefty.1 neato.1
-MAN3=	agraph.3 cdt.3 graph.3 pathplan.3
-MANN=	gdtclft.n tcldgl.n tcldgr.n tcldot.n tkspline.n
+MAN1=		dot.1 dotty.1 lefty.1 neato.1
+MAN3=		agraph.3 cdt.3 graph.3 pathplan.3
+MANN=		gdtclft.n tcldgl.n tcldgr.n tcldot.n tkspline.n
+
+PORTDOCS=	dotguide.pdf dottyguide.pdf gd.html leftyguide.pdf \
+		neatoguide.pdf tcldot.html
 
 post-patch:
 	@cd ${WRKSRC} && aclocal && autoheader && libtoolize --force
+
+pre-build:
+	@cd ${WRKSRC}/cdt && ./iffe - set cc ${CC} ${CFLAGS} : run \
+		features/common > ast_common.h
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/graphviz
+.for file in ${PORTDOCS} 
+	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/graphviz
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/graphviz/distinfo graphics/graphviz/distinfo
--- /usr/ports/graphics/graphviz/distinfo	Mon Dec 11 20:23:50 2000
+++ graphics/graphviz/distinfo	Tue Feb 27 03:45:47 2001
@@ -1 +1 @@
-MD5 (gviz17b.tgz) = 25585969eb95b6196e80f8a07638164d
+MD5 (gviz17c.tgz) = 6c701b2d17985452fcdc3e6b9a8fb028
diff -urN /usr/ports/graphics/graphviz/files/patch-doc:Makefile.am graphics/graphviz/files/patch-doc:Makefile.am
--- /usr/ports/graphics/graphviz/files/patch-doc:Makefile.am	Wed Nov 15 03:31:27 2000
+++ graphics/graphviz/files/patch-doc:Makefile.am	Tue Feb 27 07:03:25 2001
@@ -1,10 +1,12 @@
---- doc/Makefile.am.orig	Thu May  4 02:31:24 2000
-+++ doc/Makefile.am	Tue Oct 17 19:10:01 2000
-@@ -4,6 +4,6 @@
+--- doc/Makefile.am.orig	Sun Oct 15 12:46:20 2000
++++ doc/Makefile.am	Tue Feb 27 07:03:09 2001
+@@ -4,8 +4,6 @@
  
- DOCS = dotguide.ps dotty.ps gd.html lefty.ps neatoguide.ps tcldot.html
+ # SUBDIRS = dot neato lefty dotty
+ 
+-DOCS = dotguide.ps dotty.ps gd.html lefty.ps neatoguide.ps tcldot.html
++DOCS = dotguide.pdf dottyguide.pdf gd.html leftyguide.pdf neatoguide.pdf tcldot.html
  
 -docdir = $(prefix)/doc
-+docdir = $(datadir)/doc/@PACKAGE@
- doc_DATA = $(DOCS)
+-doc_DATA = $(DOCS)
  EXTRA_DIST = $(DOCS)
diff -urN /usr/ports/graphics/graphviz/files/patch-dotneato:dot.c graphics/graphviz/files/patch-dotneato:dot.c
--- /usr/ports/graphics/graphviz/files/patch-dotneato:dot.c	Thu Jan  1 09:00:00 1970
+++ graphics/graphviz/files/patch-dotneato:dot.c	Tue Feb 27 06:49:55 2001
@@ -0,0 +1,12 @@
+--- dotneato/dot.c.orig	Wed Feb  7 01:44:19 2001
++++ dotneato/dot.c	Tue Feb 27 06:49:51 2001
+@@ -17,7 +17,9 @@
+ #ifdef HAVE_CONFIG_H
+ #include "gvconfig.h"
+ #endif
++#ifndef DATE
+ #include	"stamp.h"
++#endif
+ #include	<time.h>
+ #ifndef MSWIN32
+ #include	<unistd.h>
diff -urN /usr/ports/graphics/graphviz/files/patch-dotneato:neato.c graphics/graphviz/files/patch-dotneato:neato.c
--- /usr/ports/graphics/graphviz/files/patch-dotneato:neato.c	Thu Jan  1 09:00:00 1970
+++ graphics/graphviz/files/patch-dotneato:neato.c	Tue Feb 27 06:49:37 2001
@@ -0,0 +1,12 @@
+--- dotneato/neato.c.orig	Wed Feb  7 01:45:05 2001
++++ dotneato/neato.c	Tue Feb 27 06:49:23 2001
+@@ -17,7 +17,9 @@
+ #ifdef HAVE_CONFIG_H
+ #include "gvconfig.h"
+ #endif
++#ifndef DATE
+ #include	"stamp.h"
++#endif
+ #include	<time.h>
+ #ifndef MSWIN32
+ #include	<unistd.h>
diff -urN /usr/ports/graphics/graphviz/pkg-plist graphics/graphviz/pkg-plist
--- /usr/ports/graphics/graphviz/pkg-plist	Mon Dec 11 20:23:52 2000
+++ graphics/graphviz/pkg-plist	Tue Feb 27 07:12:32 2001
@@ -102,13 +102,13 @@
 lib/graphviz/libtkspline.so
 lib/graphviz/libtkspline.so.0
 lib/graphviz/pkgIndex.tcl
-share/doc/graphviz/dotguide.ps
-share/doc/graphviz/dotty.ps
-share/doc/graphviz/gd.html
-share/doc/graphviz/lefty.ps
-share/doc/graphviz/neatoguide.ps
-share/doc/graphviz/tcldot.html
-@dirrm share/doc/graphviz
+%%PORTDOCS%%share/doc/graphviz/dotguide.pdf
+%%PORTDOCS%%share/doc/graphviz/dottyguide.pdf
+%%PORTDOCS%%share/doc/graphviz/gd.html
+%%PORTDOCS%%share/doc/graphviz/leftyguide.pdf
+%%PORTDOCS%%share/doc/graphviz/neatoguide.pdf
+%%PORTDOCS%%share/doc/graphviz/tcldot.html
+%%PORTDOCS%%@dirrm share/doc/graphviz
 @dirrm lib/graphviz/lefty
 @dirrm lib/graphviz/graphs/undirected
 @dirrm lib/graphviz/graphs/directed

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102272141.f1RLf9Y46474>