1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add p5-Filter-Simple 0.79, simplified source filtering.

PR:		58050
Submitted by:	philip@p6m7g8.com
This commit is contained in:
Mathieu Arnold 2003-12-04 14:44:14 +00:00
parent bd476295a5
commit 512fd514ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95003
5 changed files with 53 additions and 0 deletions

View File

@ -187,6 +187,7 @@
SUBDIR += p5-CSS-Tiny SUBDIR += p5-CSS-Tiny
SUBDIR += p5-Data-FormValidator SUBDIR += p5-Data-FormValidator
SUBDIR += p5-DelimMatch SUBDIR += p5-DelimMatch
SUBDIR += p5-Filter-Simple
SUBDIR += p5-FreeBSD-Ports SUBDIR += p5-FreeBSD-Ports
SUBDIR += p5-HTML-Format SUBDIR += p5-HTML-Format
SUBDIR += p5-LJ-SpellCheck SUBDIR += p5-LJ-SpellCheck

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Filter-Simple-0.79.tar.gz) = a3af8a9b9c3e743afc9b6ef925011b69

View File

@ -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>

View File

@ -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