summaryrefslogtreecommitdiff
path: root/www/p5-Apache-Clean
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-10-01 11:19:08 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-10-01 11:19:08 +0000
commit3bb679a33f2a78af35b08bd0b890cc341d91af7d (patch)
tree1eea89fbaff4c1d6290e8dd2047d60979c68352d /www/p5-Apache-Clean
parentAdded caraldi.com to MASTER_SITES. (diff)
Add p5-Apache-Clean 0.05, a mod_perl interface into HTML::Clean.
PR: 56651 Submitted by: Martin Matuska <martin@tradex.sk>
Notes
Notes: svn path=/head/; revision=89964
Diffstat (limited to 'www/p5-Apache-Clean')
-rw-r--r--www/p5-Apache-Clean/Makefile33
-rw-r--r--www/p5-Apache-Clean/distinfo1
-rw-r--r--www/p5-Apache-Clean/pkg-descr3
-rw-r--r--www/p5-Apache-Clean/pkg-plist7
4 files changed, 44 insertions, 0 deletions
diff --git a/www/p5-Apache-Clean/Makefile b/www/p5-Apache-Clean/Makefile
new file mode 100644
index 000000000000..f19ff9930a76
--- /dev/null
+++ b/www/p5-Apache-Clean/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: p5-Apache-Clean
+# Date created: Sep 09 2003
+# Whom: Martin Matuska <martin@tradex.sk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Apache-Clean
+PORTVERSION= 0.05
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Apache/GEOFF
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= martin@tradex.sk
+COMMENT= A mod_perl interface into HTML::Clean
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache.pm:${PORTSDIR}/www/mod_perl \
+ ${SITE_PERL}/HTML/Clean.pm:${PORTSDIR}/www/p5-HTML-Clean
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Apache::Clean.3
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/p5-Apache-Clean/distinfo b/www/p5-Apache-Clean/distinfo
new file mode 100644
index 000000000000..afec5fab80be
--- /dev/null
+++ b/www/p5-Apache-Clean/distinfo
@@ -0,0 +1 @@
+MD5 (Apache-Clean-0.05.tar.gz) = f5b5bf3b6c0ba9839e8d72348388f9ca
diff --git a/www/p5-Apache-Clean/pkg-descr b/www/p5-Apache-Clean/pkg-descr
new file mode 100644
index 000000000000..2309cae30feb
--- /dev/null
+++ b/www/p5-Apache-Clean/pkg-descr
@@ -0,0 +1,3 @@
+Apache::Clean uses HTML::Clean to tidy up large, messy HTML, saving
+bandwidth. It is particularly useful with Apache::Compress for
+ultimate savings.
diff --git a/www/p5-Apache-Clean/pkg-plist b/www/p5-Apache-Clean/pkg-plist
new file mode 100644
index 000000000000..65a28fe6254c
--- /dev/null
+++ b/www/p5-Apache-Clean/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Apache/Clean.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Clean/.packlist
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Clean
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true