From fd284a06ff63f8a5a4ba5809160fe3692ef91e52 Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Wed, 1 Sep 2004 03:48:19 +0000 Subject: [PATCH] Add Kwiki Atom Plugin. Approved by: vanilla (co-mentor) --- www/Makefile | 1 + www/p5-Kwiki-Atom/Makefile | 36 +++++++++++++++++++++++++++++++++++ www/p5-Kwiki-Atom/distinfo | 2 ++ www/p5-Kwiki-Atom/pkg-descr | 8 ++++++++ www/p5-Kwiki-Atom/pkg-message | 9 +++++++++ www/p5-Kwiki-Atom/pkg-plist | 7 +++++++ 6 files changed, 63 insertions(+) create mode 100644 www/p5-Kwiki-Atom/Makefile create mode 100644 www/p5-Kwiki-Atom/distinfo create mode 100644 www/p5-Kwiki-Atom/pkg-descr create mode 100644 www/p5-Kwiki-Atom/pkg-message create mode 100644 www/p5-Kwiki-Atom/pkg-plist diff --git a/www/Makefile b/www/Makefile index 924d93652a8b..f4ad763c8104 100644 --- a/www/Makefile +++ b/www/Makefile @@ -484,6 +484,7 @@ SUBDIR += p5-Kwiki SUBDIR += p5-Kwiki-Archive-Rcs SUBDIR += p5-Kwiki-Archive-SVK + SUBDIR += p5-Kwiki-Atom SUBDIR += p5-Kwiki-GDGraphGenerator SUBDIR += p5-Kwiki-NewPage SUBDIR += p5-Kwiki-RecentChanges diff --git a/www/p5-Kwiki-Atom/Makefile b/www/p5-Kwiki-Atom/Makefile new file mode 100644 index 000000000000..5b60246b5538 --- /dev/null +++ b/www/p5-Kwiki-Atom/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: p5-Kwiki-Atom +# Date created: Jul 24 2004 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ +# + +PORTNAME= Kwiki-Atom +PORTVERSION= 0.04 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Kwiki +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Kwiki Atom Plugin + +BUILD_DEPENDS= ${SITE_PERL}/Kwiki.pm:${PORTSDIR}/www/p5-Kwiki \ + ${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath \ + ${SITE_PERL}/XML/Atom.pm:${PORTSDIR}/textproc/p5-XML-Atom +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Kwiki::Atom.3 + +.include + +.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 diff --git a/www/p5-Kwiki-Atom/distinfo b/www/p5-Kwiki-Atom/distinfo new file mode 100644 index 000000000000..fbc847d22a58 --- /dev/null +++ b/www/p5-Kwiki-Atom/distinfo @@ -0,0 +1,2 @@ +MD5 (Kwiki-Atom-0.04.tar.gz) = 15bc7051f8708a71434db507c3ca1621 +SIZE (Kwiki-Atom-0.04.tar.gz) = 13309 diff --git a/www/p5-Kwiki-Atom/pkg-descr b/www/p5-Kwiki-Atom/pkg-descr new file mode 100644 index 000000000000..74401c02a834 --- /dev/null +++ b/www/p5-Kwiki-Atom/pkg-descr @@ -0,0 +1,8 @@ +Kwiki::Atom - Kwiki Atom Plugin + +This Kwiki plugin provides Atom integration with Kwiki. + +For more info about this kind of integration, please +refer to http://www.xml.com/pub/a/2004/04/14/atomwiki.html. + +WWW: http://search.cpan.org/dist/Kwiki-Atom/ diff --git a/www/p5-Kwiki-Atom/pkg-message b/www/p5-Kwiki-Atom/pkg-message new file mode 100644 index 000000000000..e44122591f63 --- /dev/null +++ b/www/p5-Kwiki-Atom/pkg-message @@ -0,0 +1,9 @@ +/* ================================================================= */ +Note: + Kwiki-Atom plugin installed! Now you should add + to your kwiki in kwiki installation directory: + +$ cd cgi-bin/my-kwiki +$ kwiki -add Kwiki::Atom + +/* ================================================================= */ diff --git a/www/p5-Kwiki-Atom/pkg-plist b/www/p5-Kwiki-Atom/pkg-plist new file mode 100644 index 000000000000..7e9ee0843ac4 --- /dev/null +++ b/www/p5-Kwiki-Atom/pkg-plist @@ -0,0 +1,7 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/Kwiki/Atom.pm +%%SITE_PERL%%/Kwiki/Atom/Server.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Kwiki/Atom/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Kwiki/Atom +@dirrm %%SITE_PERL%%/Kwiki/Atom +@unexec rmdir %D/%%SITE_PERL%%/Kwiki 2>/dev/null || true