aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-12-04 22:44:14 +0800
committermat <mat@FreeBSD.org>2003-12-04 22:44:14 +0800
commitcf54e23895816e4ec3e6d154752e59c3c1f85fb9 (patch)
treee1e12d1b612953e83944f8f890a8825cc54a79ef /textproc
parent6431d750f0fe56c98f4b9070bf25455f211d3bd5 (diff)
downloadfreebsd-ports-gnome-cf54e23895816e4ec3e6d154752e59c3c1f85fb9.tar.gz
freebsd-ports-gnome-cf54e23895816e4ec3e6d154752e59c3c1f85fb9.tar.zst
freebsd-ports-gnome-cf54e23895816e4ec3e6d154752e59c3c1f85fb9.zip
Add p5-Filter-Simple 0.79, simplified source filtering.
PR: 58050 Submitted by: philip@p6m7g8.com
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Filter-Simple/Makefile36
-rw-r--r--textproc/p5-Filter-Simple/distinfo1
-rw-r--r--textproc/p5-Filter-Simple/pkg-descr10
-rw-r--r--textproc/p5-Filter-Simple/pkg-plist5
5 files changed, 53 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index fc9c437f8842..efcfa8366525 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -187,6 +187,7 @@
SUBDIR += p5-CSS-Tiny
SUBDIR += p5-Data-FormValidator
SUBDIR += p5-DelimMatch
+ SUBDIR += p5-Filter-Simple
SUBDIR += p5-FreeBSD-Ports
SUBDIR += p5-HTML-Format
SUBDIR += p5-LJ-SpellCheck
diff --git a/textproc/p5-Filter-Simple/Makefile b/textproc/p5-Filter-Simple/Makefile
new file mode 100644
index 000000000000..e09267b218f1
--- /dev/null
+++ b/textproc/p5-Filter-Simple/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: textproc/p5-Filter-Simple
+# Date created: 15 October 2003
+# Whom: philip@p6m7g8.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= Filter-Simple
+PORTVERSION= 0.79
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Filter
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= philip@p6m7g8.com
+COMMENT= Simplified source filtering
+
+PERL_CONFIGURE= yes
+
+MAN3= Filter::Simple.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \
+ ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter
+RUN_DEPENDS+= ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \
+ ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ @${PERL} -i -pe '$$_ = "" if /no warnings/' \
+ ${WRKSRC}/lib/Filter/Simple.pm
+.endif
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Filter-Simple/distinfo b/textproc/p5-Filter-Simple/distinfo
new file mode 100644
index 000000000000..54a9bf02ffb9
--- /dev/null
+++ b/textproc/p5-Filter-Simple/distinfo
@@ -0,0 +1 @@
+MD5 (Filter-Simple-0.79.tar.gz) = a3af8a9b9c3e743afc9b6ef925011b69
diff --git a/textproc/p5-Filter-Simple/pkg-descr b/textproc/p5-Filter-Simple/pkg-descr
new file mode 100644
index 000000000000..77b5d329ced9
--- /dev/null
+++ b/textproc/p5-Filter-Simple/pkg-descr
@@ -0,0 +1,10 @@
+Filter::Simple - Simplified source filtering
+
+Source filtering is an immensely powerful feature of recent versions of Perl.
+It allows one to extend the language itself (e.g. the Switch module), to
+simplify the language (e.g. Language::Pythonesque), or to completely recast the
+language (e.g. Lingua::Romana::Perligata). Effec- tively, it allows one to use
+the full power of Perl as its own, recur- sively applied, macro language.
+
+Philip M. Gollucci
+<philip@p6m7g8.com>
diff --git a/textproc/p5-Filter-Simple/pkg-plist b/textproc/p5-Filter-Simple/pkg-plist
new file mode 100644
index 000000000000..27ef22715155
--- /dev/null
+++ b/textproc/p5-Filter-Simple/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Filter/Simple.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filter/Simple/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Filter/Simple
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filter 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Filter 2>/dev/null || true