svn commit: r310739 - head/graphics/vcg
Marcelo Araujo
araujo at FreeBSD.org
Mon Jan 21 03:33:20 UTC 2013
Author: araujo
Date: Mon Jan 21 03:33:20 2013
New Revision: 310739
URL: http://svnweb.freebsd.org/changeset/ports/310739
Log:
- Update MASTER_SITES.
- Fix build with clang.
- Add LICENSE.
PR: ports/172720
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Modified:
head/graphics/vcg/Makefile (contents, props changed)
head/graphics/vcg/pkg-descr (contents, props changed)
Modified: head/graphics/vcg/Makefile
==============================================================================
--- head/graphics/vcg/Makefile Mon Jan 21 03:31:56 2013 (r310738)
+++ head/graphics/vcg/Makefile Mon Jan 21 03:33:20 2013 (r310739)
@@ -5,25 +5,26 @@ PORTNAME= vcg
PORTVERSION= 1.30
PORTREVISION= 2
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/
+MASTER_SITES= http://download.polytechnic.edu.na/pub2/openpkg1/sources/DST/vcg/ \
+ http://ftp.gwdg.de/linux/openpkg/openpkg-ftp/sources/DST/vcg/ \
+ http://ftp.sjtu.edu.cn/sites/ftp.openpkg.org/sources/DST/vcg/ \
+ ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/
DISTNAME= ${PORTNAME}.20050204
EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
COMMENT= A Visualization Tool for compiler graphs
-DEPRECATED= No more public distfiles
-EXPIRATION_DATE= 2012-11-26
+LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
-USE_GCC= any
-USE_XORG= x11 xext
-MANL= pbmrot90.l pbmshift.l pbm2hp.l vcgdemomaker.l vcg.l xvcg.l
+WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
+USE_XORG= x11 xext
MAKE_JOBS_UNSAFE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
+MANL= pbmrot90.l pbmshift.l pbm2hp.l vcgdemomaker.l vcg.l xvcg.l
pre-patch:
@${MKDIR} ${WRKSRC}/preconf/X11ccFreeBSD
@@ -38,4 +39,9 @@ pre-patch:
< ${FILESDIR}/${file} > ${WRKSRC}/preconf/X11ccFreeBSD/${file}
.endfor
+post-patch:
+.for i in animation1.c animation2.c animation3.c vcgcount.c
+ @${REINPLACE_CMD} -e '/ main/s|^void|int|' ${WRKSRC}/demo/${i}
+.endfor
+
.include <bsd.port.mk>
Modified: head/graphics/vcg/pkg-descr
==============================================================================
--- head/graphics/vcg/pkg-descr Mon Jan 21 03:31:56 2013 (r310738)
+++ head/graphics/vcg/pkg-descr Mon Jan 21 03:33:20 2013 (r310739)
@@ -1,12 +1,11 @@
-The VCG tool reads a textual and readable specification of a
-graph and visualizes the graph. If not all positions of
-nodes are fixed, the tool layouts the graph using several
-heuristics as reducing the number of crossings, minimizing
-the size of edges, centering of nodes. The specification
-language of the VCG tool is nearly compatible to GRL, the
-language of the edge tool, but contains many extensions. The
-VCG tool allows folding of dynamically or statically speci-
-fied regions of the graph. It uses colors and runs on
-X11. (An older version runs on Sunview).
+The VCG tool reads a textual and readable specification of a graph and
+visualizes the graph. If not all positions of nodes are fixed, the tool
+layouts the graph using several heuristics as reducing the number of
+crossings, minimizing the size of edges, centering of nodes. The
+specification language of the VCG tool is nearly compatible to GRL, the
+language of the edge tool, but contains many extensions. The VCG tool
+allows folding of dynamically or statically specified regions of the
+graph. It uses colors and runs on X11. (An older version runs on
+Sunview).
WWW: http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html
More information about the svn-ports-all
mailing list