aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Graph-SocialMap
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-01 07:54:21 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-01 07:54:21 +0000
commita96fa657e437cbed04f4e60ab8de44e64c04937a (patch)
tree565a9f7b470dba36435d0c5eab37b43711d4e2dd /graphics/p5-Graph-SocialMap
parentd478ddb277513e74bca31195d04e7d13f624d609 (diff)
downloadports-a96fa657e437cbed04f4e60ab8de44e64c04937a.tar.gz
ports-a96fa657e437cbed04f4e60ab8de44e64c04937a.zip
Adding port graphics/p5-Graph-SocialMap, Easy tool to create social network map.
Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=164144
Diffstat (limited to 'graphics/p5-Graph-SocialMap')
-rw-r--r--graphics/p5-Graph-SocialMap/Makefile35
-rw-r--r--graphics/p5-Graph-SocialMap/distinfo3
-rw-r--r--graphics/p5-Graph-SocialMap/pkg-descr26
-rw-r--r--graphics/p5-Graph-SocialMap/pkg-plist6
4 files changed, 70 insertions, 0 deletions
diff --git a/graphics/p5-Graph-SocialMap/Makefile b/graphics/p5-Graph-SocialMap/Makefile
new file mode 100644
index 000000000000..a13ccf7ed0be
--- /dev/null
+++ b/graphics/p5-Graph-SocialMap/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: p5-Graph-SocialMap
+# Date created: 31 May 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Graph-SocialMap
+PORTVERSION= 0.12
+CATEGORIES= graphics perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Graph
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= Easy tool to create social network maps
+
+BUILD_DEPENDS= ${SITE_PERL}/Spiffy.pm:${PORTSDIR}/devel/p5-Spiffy \
+ ${SITE_PERL}/Graph.pm:${PORTSDIR}/math/p5-Graph \
+ ${SITE_PERL}/Graph/Writer/GraphViz.pm:${PORTSDIR}/graphics/p5-Graph-Writer-GraphViz \
+ ${SITE_PERL}/Quantum/Superpositions.pm:${PORTSDIR}/lang/p5-Quantum-Superpositions \
+ ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAN3= Graph::SocialMap.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= currently requires at least Perl 5.8 due to dependencies. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/p5-Graph-SocialMap/distinfo b/graphics/p5-Graph-SocialMap/distinfo
new file mode 100644
index 000000000000..3d1d5b7cff85
--- /dev/null
+++ b/graphics/p5-Graph-SocialMap/distinfo
@@ -0,0 +1,3 @@
+MD5 (Graph-SocialMap-0.12.tar.gz) = fa2ce20c883ca209ed71ad4487fb8e14
+SHA256 (Graph-SocialMap-0.12.tar.gz) = 2858fab90b5b38f07521bffb69c979f7213e07ae9de49890bf4e884ff6a7c992
+SIZE (Graph-SocialMap-0.12.tar.gz) = 27505
diff --git a/graphics/p5-Graph-SocialMap/pkg-descr b/graphics/p5-Graph-SocialMap/pkg-descr
new file mode 100644
index 000000000000..745f5e0e888c
--- /dev/null
+++ b/graphics/p5-Graph-SocialMap/pkg-descr
@@ -0,0 +1,26 @@
+This module implement a interesting graph application that is called the
+'Social Relation Map'. It provides object-oriented way to retrieve many
+social information that can be found in this map.
+
+The new() constructor accepts one argument in the for of 'hashref of
+arrayref'. The key to this hash is the name of relation, and the value of
+the hash is a list of identities involved in this relation.
+
+Take the synopsis for an example, the structure:
+
+ my $relation = {
+ 'WorkWith' => [qw/Marry Rose/],
+ 'ChatWith' => [qw/Marry Peacock/],
+ 'DanceWith' => [qw/Rose Joan/],
+ 'HackWith' => [qw/Gugod Autrijus/],
+ };
+
+Defines 4 issues which have common people involves in, the relation
+'WorkWith' involves Marry and Rose, and the relation 'ChatWith' involves
+Marry and Peacock. By this 2 relations, we say that Marry is directly
+connected to Rose and Peacock, and Rose and Peacock are connected to each
+other indirectly, with degree of seperation 1. Likewise, Marry and Joan
+are connected to each other with degree of seperation 2.
+
+WWW: http://search.cpan.org/dist/Graph-SocialMap
+Author: Kang-min Liu <gugod@gugod.org>
diff --git a/graphics/p5-Graph-SocialMap/pkg-plist b/graphics/p5-Graph-SocialMap/pkg-plist
new file mode 100644
index 000000000000..55484f151972
--- /dev/null
+++ b/graphics/p5-Graph-SocialMap/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Graph/SocialMap.pm
+%%SITE_PERL%%/Graph/SocialMap.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graph/SocialMap/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graph/SocialMap
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graph
+@dirrmtry %%SITE_PERL%%/Graph