aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-11-19 00:00:54 +0800
committerskv <skv@FreeBSD.org>2003-11-19 00:00:54 +0800
commite42ec8a4bd31b59d95d56b893b044a80cd6c1a02 (patch)
tree99b17bd76312277d0e95cfa7d6b572ecfa3430eb /textproc
parenta1e12631d5a14528cc124bc4c59d3bddcdbc369d (diff)
downloadfreebsd-ports-graphics-e42ec8a4bd31b59d95d56b893b044a80cd6c1a02.tar.gz
freebsd-ports-graphics-e42ec8a4bd31b59d95d56b893b044a80cd6c1a02.tar.zst
freebsd-ports-graphics-e42ec8a4bd31b59d95d56b893b044a80cd6c1a02.zip
Add p5-Pod-Stripper 0.22, strip all pod, and output what's left.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Pod-Stripper/Makefile31
-rw-r--r--textproc/p5-Pod-Stripper/distinfo1
-rw-r--r--textproc/p5-Pod-Stripper/pkg-descr8
-rw-r--r--textproc/p5-Pod-Stripper/pkg-plist6
5 files changed, 47 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 01c0c0ff095..45f2efc6057 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -219,6 +219,7 @@
SUBDIR += p5-Pod-Escapes
SUBDIR += p5-Pod-POM
SUBDIR += p5-Pod-Simple
+ SUBDIR += p5-Pod-Stripper
SUBDIR += p5-PodParser
SUBDIR += p5-RADIUS-UserFile
SUBDIR += p5-RDF-Core
diff --git a/textproc/p5-Pod-Stripper/Makefile b/textproc/p5-Pod-Stripper/Makefile
new file mode 100644
index 00000000000..39e2e984409
--- /dev/null
+++ b/textproc/p5-Pod-Stripper/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: Pod-Stripper
+# Date created: 18 November 2003
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Pod-Stripper
+PORTVERSION= 0.22
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Pod
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Strip all pod, and output what's left
+
+BUILD_DEPENDS= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS+= INSTALLDIRS="site"
+
+MAN1= podstrip.1
+MAN3= Pod::Stripper.3
+MAN1PREFIX= ${PREFIX}
+
+post-patch:
+ @${FIND} ${WRKSRC} -type f|${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//;'
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Pod-Stripper/distinfo b/textproc/p5-Pod-Stripper/distinfo
new file mode 100644
index 00000000000..36ca5a9088a
--- /dev/null
+++ b/textproc/p5-Pod-Stripper/distinfo
@@ -0,0 +1 @@
+MD5 (Pod-Stripper-0.22.tar.gz) = 33095c075bcb8f366a3fb3bf2c1d3fc8
diff --git a/textproc/p5-Pod-Stripper/pkg-descr b/textproc/p5-Pod-Stripper/pkg-descr
new file mode 100644
index 00000000000..92c4465e3b8
--- /dev/null
+++ b/textproc/p5-Pod-Stripper/pkg-descr
@@ -0,0 +1,8 @@
+This be Pod::Stripper, a subclass of Pod::Parser. It parses perl files,
+stripping out the pod, and dumping the rest (presumably code) to
+wherever you point it to (like you do with Pod::Parser).
+
+WWW: http://search.cpan.org/dist/Pod-Stripper/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/textproc/p5-Pod-Stripper/pkg-plist b/textproc/p5-Pod-Stripper/pkg-plist
new file mode 100644
index 00000000000..cfe1a215dd0
--- /dev/null
+++ b/textproc/p5-Pod-Stripper/pkg-plist
@@ -0,0 +1,6 @@
+bin/podstrip
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/Stripper/.packlist
+%%SITE_PERL%%/Pod/Stripper.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/Stripper
+@unexec rmdir %D/%%SITE_PERL%%/Pod 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod 2>/dev/null || true