summaryrefslogtreecommitdiffstats
path: root/textproc/p5-Filter-Simple
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-12-04 14:44:14 +0000
committermat <mat@FreeBSD.org>2003-12-04 14:44:14 +0000
commitcf54e23895816e4ec3e6d154752e59c3c1f85fb9 (patch)
treee1e12d1b612953e83944f8f890a8825cc54a79ef /textproc/p5-Filter-Simple
parent6431d750f0fe56c98f4b9070bf25455f211d3bd5 (diff)
downloadFreeBSD-ports-cf54e23895816e4ec3e6d154752e59c3c1f85fb9.zip
FreeBSD-ports-cf54e23895816e4ec3e6d154752e59c3c1f85fb9.tar.gz
Add p5-Filter-Simple 0.79, simplified source filtering.
PR: 58050 Submitted by: philip@p6m7g8.com
Diffstat (limited to 'textproc/p5-Filter-Simple')
-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
4 files changed, 52 insertions, 0 deletions
diff --git a/textproc/p5-Filter-Simple/Makefile b/textproc/p5-Filter-Simple/Makefile
new file mode 100644
index 0000000..e09267b
--- /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 0000000..54a9bf0
--- /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 0000000..77b5d32
--- /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 0000000..27ef227
--- /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
OpenPOWER on IntegriCloud