diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-10-06 20:13:53 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-10-06 20:13:53 +0800 |
commit | 0ee46ffcb57551a3c5ab9dd47dbaa957949e06a9 (patch) | |
tree | ea47d7361a7d9daec219f5890d1cffe03808a267 /devel/autodia | |
parent | 5edbbe8a60ea379cc5e34ed21e02663db0dbfcfa (diff) | |
download | freebsd-ports-gnome-0ee46ffcb57551a3c5ab9dd47dbaa957949e06a9.tar.gz freebsd-ports-gnome-0ee46ffcb57551a3c5ab9dd47dbaa957949e06a9.tar.zst freebsd-ports-gnome-0ee46ffcb57551a3c5ab9dd47dbaa957949e06a9.zip |
add autodia
Automatic Dia XML - from Source Code and Data
Diffstat (limited to 'devel/autodia')
-rw-r--r-- | devel/autodia/Makefile | 37 | ||||
-rw-r--r-- | devel/autodia/distinfo | 1 | ||||
-rw-r--r-- | devel/autodia/files/patch-SRC::autodia.pl | 17 | ||||
-rw-r--r-- | devel/autodia/pkg-comment | 1 | ||||
-rw-r--r-- | devel/autodia/pkg-descr | 11 | ||||
-rw-r--r-- | devel/autodia/pkg-plist | 27 |
6 files changed, 94 insertions, 0 deletions
diff --git a/devel/autodia/Makefile b/devel/autodia/Makefile new file mode 100644 index 000000000000..3ef677eb6326 --- /dev/null +++ b/devel/autodia/Makefile @@ -0,0 +1,37 @@ +# ex:ts=8 +# New ports collection makefile for: autodia +# Date created: Oct 6, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= autodia +PORTVERSION= 1.0 +CATEGORIES= devel perl5 +MASTER_SITES= http://droogs.org/autodia/download/ + +MAINTAINER= ports@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit + +USE_BZIP2= yes +USE_PERL5= yes +NO_BUILD= yes + +post-patch: + @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \ + s,%%PERL_VER%%,${PERL_VER},g" ${WRKSRC}/SRC/autodia.pl + +do-install: + @${MKDIR} ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/autodia + ${INSTALL_SCRIPT} ${WRKSRC}/SRC/autodia.pl ${PREFIX}/bin/autodia + ${CP} ${WRKSRC}/SRC/*.pm ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/autodia + ${CP} ${WRKSRC}/TEMPLATES/* ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/autodia + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${CP} ${WRKSRC}/DOC/* ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/devel/autodia/distinfo b/devel/autodia/distinfo new file mode 100644 index 000000000000..e0c235a67eed --- /dev/null +++ b/devel/autodia/distinfo @@ -0,0 +1 @@ +MD5 (autodia-1.0.tar.bz2) = eb676526dffe7a2518e0231225d44bba diff --git a/devel/autodia/files/patch-SRC::autodia.pl b/devel/autodia/files/patch-SRC::autodia.pl new file mode 100644 index 000000000000..c425470ec5c6 --- /dev/null +++ b/devel/autodia/files/patch-SRC::autodia.pl @@ -0,0 +1,17 @@ +--- SRC/autodia.pl.orig Fri Jul 6 21:58:39 2001 ++++ SRC/autodia.pl Sat Oct 6 15:27:45 2001 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl -I /home/aaron/downloads/autodia-0.9/SRC ++#!/usr/bin/perl -I /usr/local/lib/perl5/site_perl/5.6.0/autodia + + ############################################################### + # AutoDIA - Automatic Dia XML. (C)Copyright 2001 A Trevena # +@@ -156,7 +156,7 @@ + + $config{filenames} = \@filenames; + $config{use_stdout} = (defined $args{'O'}) ? 1 : 0; +- $config{templatefile} = (defined $args{'t'}) ? $args{'t'} : "template.xml"; ++ $config{templatefile} = (defined $args{'t'}) ? $args{'t'} : "%%LOCALBASE%%/lib/perl5/site_perl/%%PERL_VER%%/autodia/template.xml"; + $config{outputfile} = (defined $args{'o'}) ? $args{'o'} : "autodial.out.xml"; + $config{no_deps} = (defined $args{'D'}) ? 1 : 0; + $config{sort} = (defined $args{'s'}) ? 1 : 0; diff --git a/devel/autodia/pkg-comment b/devel/autodia/pkg-comment new file mode 100644 index 000000000000..3272a2d843b2 --- /dev/null +++ b/devel/autodia/pkg-comment @@ -0,0 +1 @@ +Automatic Dia XML - from Source Code and Data diff --git a/devel/autodia/pkg-descr b/devel/autodia/pkg-descr new file mode 100644 index 000000000000..f0032f6463c5 --- /dev/null +++ b/devel/autodia/pkg-descr @@ -0,0 +1,11 @@ +AutoDia is a modular application that parses source code or data (if a +handler is available) and produces an XML document in Dia format, +essentially a Dia diagram autocreation package. The diagrams its creates +are standard UML diagrams showing dependancies, superclasses, packages, +classes and inheritances, as well as the methods, etc of each class. + +AutoDia supports any language that a Handler has been written for - +currently this is Perl (pretty good) and C++ (handles simple C++). Adding +a handler is easy - read the DEVELOP file for details. + +WWW: http://droogs.org/autodia/ diff --git a/devel/autodia/pkg-plist b/devel/autodia/pkg-plist new file mode 100644 index 000000000000..991d1fa7b99e --- /dev/null +++ b/devel/autodia/pkg-plist @@ -0,0 +1,27 @@ +bin/autodia +lib/perl5/site_perl/%%PERL_VER%%/autodia/Autodia.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/Diagram.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/DiagramClass.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/DiagramComponent.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/DiagramDependancy.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/DiagramInheritance.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/DiagramObject.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/DiagramSuperclass.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/Handler.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/HandlerCpp.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/HandlerJava.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/HandlerPerl.pm +lib/perl5/site_perl/%%PERL_VER%%/autodia/simplespec.html +lib/perl5/site_perl/%%PERL_VER%%/autodia/template.xml +@dirrm lib/perl5/site_perl/%%PERL_VER%%/autodia +%%PORTDOCS%%share/doc/autodia/BUGS +%%PORTDOCS%%share/doc/autodia/CHANGES +%%PORTDOCS%%share/doc/autodia/COPYING +%%PORTDOCS%%share/doc/autodia/CREDITS +%%PORTDOCS%%share/doc/autodia/DEVELOP +%%PORTDOCS%%share/doc/autodia/FAQ +%%PORTDOCS%%share/doc/autodia/INSTALL +%%PORTDOCS%%share/doc/autodia/README +%%PORTDOCS%%share/doc/autodia/TODO +%%PORTDOCS%%share/doc/autodia/faq.txt +%%PORTDOCS%%@dirrm share/doc/autodia |