diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-01-25 11:59:15 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-01-25 11:59:15 +0000 |
commit | 3c0546da94120b43671f4b579ef3074266925d42 (patch) | |
tree | 81c51cf6c9b11b0c6280a923142268455f0ad3ef /devel | |
parent | c01c6d23da2b107dd57d5766313f3cac913073b9 (diff) | |
download | ports-3c0546da94120b43671f4b579ef3074266925d42.tar.gz ports-3c0546da94120b43671f4b579ef3074266925d42.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Devel-Diagram/Makefile | 32 | ||||
-rw-r--r-- | devel/p5-Devel-Diagram/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Devel-Diagram/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-Devel-Diagram/pkg-plist | 18 |
5 files changed, 63 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index f7302c797c73..9be97276808a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -661,6 +661,7 @@ SUBDIR += p5-Devel-Cover SUBDIR += p5-Devel-Cycle SUBDIR += p5-Devel-DProf + SUBDIR += p5-Devel-Diagram SUBDIR += p5-Devel-Leak SUBDIR += p5-Devel-Modlist SUBDIR += p5-Devel-ObjectTracker diff --git a/devel/p5-Devel-Diagram/Makefile b/devel/p5-Devel-Diagram/Makefile new file mode 100644 index 000000000000..9da354db61c4 --- /dev/null +++ b/devel/p5-Devel-Diagram/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: Devel-Diagram +# Date created: 25 January 2004 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= Devel-Diagram +PORTVERSION= 1.00 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Devel +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Discover the classes of an arbitrary suite of Perl modules + +PERL_CONFIGURE= yes + +MAN3= Devel::Diagram.3 Devel::Diagram::Render::UXF20.3 + +post-patch: + @${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//' + +post-install: +.ifndef(NOPORTDOCS) + @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/eg/* ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/devel/p5-Devel-Diagram/distinfo b/devel/p5-Devel-Diagram/distinfo new file mode 100644 index 000000000000..7f3e7b3fe881 --- /dev/null +++ b/devel/p5-Devel-Diagram/distinfo @@ -0,0 +1 @@ +MD5 (Devel-Diagram-1.00.tar.gz) = ed99e417354e1702ee2b8ed1644de201 diff --git a/devel/p5-Devel-Diagram/pkg-descr b/devel/p5-Devel-Diagram/pkg-descr new file mode 100644 index 000000000000..711c7825c1d2 --- /dev/null +++ b/devel/p5-Devel-Diagram/pkg-descr @@ -0,0 +1,11 @@ +Devel::Diagram scans the given Perl modules attempting to discover the +class structure. It produces a hash table that can be converted to XML +(or other formats) via Render(). + +An XSL stylesheet is included that converts the XML class diagram into +HTML. + +WWW: http://search.cpan.org/dist/Devel-Diagram/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/devel/p5-Devel-Diagram/pkg-plist b/devel/p5-Devel-Diagram/pkg-plist new file mode 100644 index 000000000000..ae7dbcc5faa0 --- /dev/null +++ b/devel/p5-Devel-Diagram/pkg-plist @@ -0,0 +1,18 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Diagram/.packlist +%%SITE_PERL%%/Devel/Diagram.pm +%%SITE_PERL%%/Devel/Diagram/Render/UXF20.pm +%%SITE_PERL%%/Devel/Diagram/xsl/uxf20toHtml.xsl +@dirrm %%SITE_PERL%%/Devel/Diagram/Render +@dirrm %%SITE_PERL%%/Devel/Diagram/xsl +@dirrm %%SITE_PERL%%/Devel/Diagram +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Diagram +@unexec rmdir %D/%%SITE_PERL%%/Devel 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true +%%PORTDOCS%%%%EXAMPLESDIR%%/ClassDiagram.pl +%%PORTDOCS%%%%EXAMPLESDIR%%/cd-CGI.html +%%PORTDOCS%%%%EXAMPLESDIR%%/cd-CPAN.html +%%PORTDOCS%%%%EXAMPLESDIR%%/cd-DBI.html +%%PORTDOCS%%%%EXAMPLESDIR%%/cd-HTML.html +%%PORTDOCS%%%%EXAMPLESDIR%%/cd-IO.html +%%PORTDOCS%%%%EXAMPLESDIR%%/cd-LWP.html +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |