aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Graph
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2001-10-10 05:02:47 +0800
committertobez <tobez@FreeBSD.org>2001-10-10 05:02:47 +0800
commitc8a9b3ffc65a113a27f1e3d047e8399ab81b6b05 (patch)
tree3cd1ba74a649ee8afd41e1002e3ee5597402589a /math/p5-Graph
parent97ab13ec9799abe33bd566a659e4da447bb8b162 (diff)
downloadfreebsd-ports-gnome-c8a9b3ffc65a113a27f1e3d047e8399ab81b6b05.tar.gz
freebsd-ports-gnome-c8a9b3ffc65a113a27f1e3d047e8399ab81b6b05.tar.zst
freebsd-ports-gnome-c8a9b3ffc65a113a27f1e3d047e8399ab81b6b05.zip
Add p5-Graph, the Perl module for graph operations.
Diffstat (limited to 'math/p5-Graph')
-rw-r--r--math/p5-Graph/Makefile32
-rw-r--r--math/p5-Graph/distinfo1
-rw-r--r--math/p5-Graph/pkg-comment1
-rw-r--r--math/p5-Graph/pkg-descr9
-rw-r--r--math/p5-Graph/pkg-plist11
5 files changed, 54 insertions, 0 deletions
diff --git a/math/p5-Graph/Makefile b/math/p5-Graph/Makefile
new file mode 100644
index 000000000000..f1016df1c15d
--- /dev/null
+++ b/math/p5-Graph/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: math/p5-Graph
+# Date created: 09 October 2001
+# Whom: tobez
+#
+# $FreeBSD$
+#
+
+PORTNAME= Graph
+PORTVERSION= 0.201
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Graph
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Heap.pm:${PORTSDIR}/devel/p5-Heap
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Graph.3 \
+ Graph::BFS.3 \
+ Graph::Base.3 \
+ Graph::DFS.3 \
+ Graph::Directed.3 \
+ Graph::HeapElem.3 \
+ Graph::Traversal.3 \
+ Graph::Undirected.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/math/p5-Graph/distinfo b/math/p5-Graph/distinfo
new file mode 100644
index 000000000000..33632bfc873b
--- /dev/null
+++ b/math/p5-Graph/distinfo
@@ -0,0 +1 @@
+MD5 (Graph-0.201.tar.gz) = 0a0b21b6ca930c8b34b8b22b0199cef5
diff --git a/math/p5-Graph/pkg-comment b/math/p5-Graph/pkg-comment
new file mode 100644
index 000000000000..db62b6d974e4
--- /dev/null
+++ b/math/p5-Graph/pkg-comment
@@ -0,0 +1 @@
+Graph, the Perl module for graph operations
diff --git a/math/p5-Graph/pkg-descr b/math/p5-Graph/pkg-descr
new file mode 100644
index 000000000000..4863de7aa060
--- /dev/null
+++ b/math/p5-Graph/pkg-descr
@@ -0,0 +1,9 @@
+This is Graph, the Perl module for graph operations as the code was for
+the 1st edition of "Mastering Algorithms with Perl", by Jon Orwant,
+Jarkko Hietaniemi, and John Macdonald, published in August 1999 by the
+O'Reilly and Associates.
+
+WWW: http://search.cpan.org/search?dist=Graph
+
+-Anton
+<tobez@FreeBSD.org>
diff --git a/math/p5-Graph/pkg-plist b/math/p5-Graph/pkg-plist
new file mode 100644
index 000000000000..81b47fc9f068
--- /dev/null
+++ b/math/p5-Graph/pkg-plist
@@ -0,0 +1,11 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Graph/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Graph.pm
+lib/perl5/site_perl/%%PERL_VER%%/Graph/Directed.pm
+lib/perl5/site_perl/%%PERL_VER%%/Graph/HeapElem.pm
+lib/perl5/site_perl/%%PERL_VER%%/Graph/DFS.pm
+lib/perl5/site_perl/%%PERL_VER%%/Graph/Base.pm
+lib/perl5/site_perl/%%PERL_VER%%/Graph/Traversal.pm
+lib/perl5/site_perl/%%PERL_VER%%/Graph/BFS.pm
+lib/perl5/site_perl/%%PERL_VER%%/Graph/Undirected.pm
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Graph 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Graph 2>/dev/null || true