summaryrefslogtreecommitdiff
path: root/www/p5-Kwiki-GDGraphGenerator
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2004-08-31 09:44:19 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2004-08-31 09:44:19 +0000
commit9b19a5f6e0479374a8f56b2b71c20b856242d237 (patch)
treec13f190c4ee40a58e55bcd1bca303b122249734a /www/p5-Kwiki-GDGraphGenerator
parentAdd BUILD_DEPENDS on nasm for i386. (diff)
Add a p5-Kwiki plugin,
Kwiki::GDGraphGenerator - put pretty graphs into your Kwiki pages PR: ports/71046 Approved by: vanilla (co-mentor)
Notes
Notes: svn path=/head/; revision=117729
Diffstat (limited to 'www/p5-Kwiki-GDGraphGenerator')
-rw-r--r--www/p5-Kwiki-GDGraphGenerator/Makefile35
-rw-r--r--www/p5-Kwiki-GDGraphGenerator/distinfo2
-rw-r--r--www/p5-Kwiki-GDGraphGenerator/pkg-descr7
-rw-r--r--www/p5-Kwiki-GDGraphGenerator/pkg-message11
-rw-r--r--www/p5-Kwiki-GDGraphGenerator/pkg-plist5
5 files changed, 60 insertions, 0 deletions
diff --git a/www/p5-Kwiki-GDGraphGenerator/Makefile b/www/p5-Kwiki-GDGraphGenerator/Makefile
new file mode 100644
index 000000000000..84275c351d82
--- /dev/null
+++ b/www/p5-Kwiki-GDGraphGenerator/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: p5-Kwiki-GDGraphGenerator
+# Date created: 2004-08-28
+# Whom: Elvis Chiang <elvis@sslab.cs.ccu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Kwiki-GDGraphGenerator
+PORTVERSION= 0.03
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Kwiki
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= elvis@sslab.cs.ccu.edu.tw
+COMMENT= Kwiki plugin for putting pretty graphs into your Kwiki pages
+
+BUILD_DEPENDS= ${SITE_PERL}/Kwiki.pm:${PORTSDIR}/www/p5-Kwiki \
+ ${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Kwiki::GDGraphGenerator.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Kwiki-GDGraphGenerator/distinfo b/www/p5-Kwiki-GDGraphGenerator/distinfo
new file mode 100644
index 000000000000..92367c085283
--- /dev/null
+++ b/www/p5-Kwiki-GDGraphGenerator/distinfo
@@ -0,0 +1,2 @@
+MD5 (Kwiki-GDGraphGenerator-0.03.tar.gz) = 735166b1a7146f19cb07a4b4643fab7b
+SIZE (Kwiki-GDGraphGenerator-0.03.tar.gz) = 9930
diff --git a/www/p5-Kwiki-GDGraphGenerator/pkg-descr b/www/p5-Kwiki-GDGraphGenerator/pkg-descr
new file mode 100644
index 000000000000..f280bf22ad61
--- /dev/null
+++ b/www/p5-Kwiki-GDGraphGenerator/pkg-descr
@@ -0,0 +1,7 @@
+Kwiki::GDGraphGenerator - put pretty graphs into your Kwiki pages
+
+Kwiki::GDGraphGenerator turns graph WAFL blocks into pretty graph
+(bars/lines/pie graph) using GD::Graph
+
+Author: Ian Langworth <langworth.com>
+WWW: http://search.cpan.org/~ian/Kwiki-GDGraphGenerator/
diff --git a/www/p5-Kwiki-GDGraphGenerator/pkg-message b/www/p5-Kwiki-GDGraphGenerator/pkg-message
new file mode 100644
index 000000000000..90752abc0c6a
--- /dev/null
+++ b/www/p5-Kwiki-GDGraphGenerator/pkg-message
@@ -0,0 +1,11 @@
+/* ================================================================= */
+Note:
+ Kwiki-GDGraphGenerator plugin installed! Now you should add
+ to your kwiki in kwiki installation directory:
+
+$ cd cgi-bin/my-kwiki
+$ kwiki -add Kwiki::GDGraphGenerator
+$ chmod 777 plugin/graphgenerator
+
+ Use `perldoc Kwiki::GDGraphGenerator` to see examples
+/* ================================================================= */
diff --git a/www/p5-Kwiki-GDGraphGenerator/pkg-plist b/www/p5-Kwiki-GDGraphGenerator/pkg-plist
new file mode 100644
index 000000000000..af5da18ddc86
--- /dev/null
+++ b/www/p5-Kwiki-GDGraphGenerator/pkg-plist
@@ -0,0 +1,5 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/Kwiki/GDGraphGenerator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Kwiki/GDGraphGenerator/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Kwiki/GDGraphGenerator
+@unexec rmdir %D/%%SITE_PERL%%/Kwiki 2>/dev/null || true