diff --git a/www/Makefile b/www/Makefile index b2ddf5b617e5..291596d8c7d5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -502,6 +502,7 @@ SUBDIR += p5-Kwiki-Atom SUBDIR += p5-Kwiki-GDGraphGenerator SUBDIR += p5-Kwiki-NewPage + SUBDIR += p5-Kwiki-PagePrivacy SUBDIR += p5-Kwiki-RecentChanges SUBDIR += p5-Kwiki-RecentChangesRSS SUBDIR += p5-Kwiki-Revisions diff --git a/www/p5-Kwiki-PagePrivacy/Makefile b/www/p5-Kwiki-PagePrivacy/Makefile new file mode 100644 index 000000000000..988cc82804c6 --- /dev/null +++ b/www/p5-Kwiki-PagePrivacy/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: p5-Kwiki-PagePrivacy +# Date created: Jan 21 2005 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ +# + +PORTNAME= Kwiki-PagePrivacy +PORTVERSION= 0.10 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Kwiki +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Kwiki PagePrivacy Plugin + +BUILD_DEPENDS= ${SITE_PERL}/Kwiki.pm:${PORTSDIR}/www/p5-Kwiki +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Kwiki::PagePrivacy.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-PagePrivacy/distinfo b/www/p5-Kwiki-PagePrivacy/distinfo new file mode 100644 index 000000000000..e53ed17a6b08 --- /dev/null +++ b/www/p5-Kwiki-PagePrivacy/distinfo @@ -0,0 +1,2 @@ +MD5 (Kwiki-PagePrivacy-0.10.tar.gz) = 76f9031ad1be6f2c2fa7d6443acd1b67 +SIZE (Kwiki-PagePrivacy-0.10.tar.gz) = 8437 diff --git a/www/p5-Kwiki-PagePrivacy/pkg-descr b/www/p5-Kwiki-PagePrivacy/pkg-descr new file mode 100644 index 000000000000..68e07e0c67d1 --- /dev/null +++ b/www/p5-Kwiki-PagePrivacy/pkg-descr @@ -0,0 +1,8 @@ +Kwiki::PagePrivacy is a plugin that lets you mark individual pages as: + + * Public - normal readable/writable + * Protected - readonly to everyone except the control group. + * Private - invisible to everyone but the control group. + +WWW: http://search.cpan.org/dist/Kwiki-PagePrivacy/ +Author: Brian Ingerson diff --git a/www/p5-Kwiki-PagePrivacy/pkg-message b/www/p5-Kwiki-PagePrivacy/pkg-message new file mode 100644 index 000000000000..0b369436e5b2 --- /dev/null +++ b/www/p5-Kwiki-PagePrivacy/pkg-message @@ -0,0 +1,15 @@ +/* ================================================================= */ +Note: + Kwiki-PagePrivacy plugin installed! Now you should add + to your kwiki in kwiki installation directory: + +$ cd cgi-bin/my-kwiki +$ kwiki -add Kwiki::PagePrivacy + + To active PagePrivacy, please check official site: + +URL: http://www.kwiki.org/?KwikiPagePrivacy + + Remeber to properly setup your .htaccess file + +/* ================================================================= */ diff --git a/www/p5-Kwiki-PagePrivacy/pkg-plist b/www/p5-Kwiki-PagePrivacy/pkg-plist new file mode 100644 index 000000000000..fede0efecff8 --- /dev/null +++ b/www/p5-Kwiki-PagePrivacy/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/Kwiki/PagePrivacy.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Kwiki/PagePrivacy/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Kwiki/PagePrivacy +@unexec rmdir %D/%%SITE_PERL%%/Kwiki 2>/dev/null || true