aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Reflow
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-05-03 01:30:36 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-05-03 01:30:36 +0000
commit142196462a70766d3bcaf657e65fef9503d12755 (patch)
treec2cc0bab2dfff50cc2da08c5a4ea49f807c9a99d /textproc/p5-Text-Reflow
parent07243026742978ef942a86793f4f111ed04c44fd (diff)
downloadports-142196462a70766d3bcaf657e65fef9503d12755.tar.gz
ports-142196462a70766d3bcaf657e65fef9503d12755.zip
Notes
Diffstat (limited to 'textproc/p5-Text-Reflow')
-rw-r--r--textproc/p5-Text-Reflow/Makefile12
-rw-r--r--textproc/p5-Text-Reflow/pkg-descr2
-rw-r--r--textproc/p5-Text-Reflow/pkg-plist15
3 files changed, 15 insertions, 14 deletions
diff --git a/textproc/p5-Text-Reflow/Makefile b/textproc/p5-Text-Reflow/Makefile
index ba2132c1b12f..4b63d36c21e4 100644
--- a/textproc/p5-Text-Reflow/Makefile
+++ b/textproc/p5-Text-Reflow/Makefile
@@ -18,11 +18,11 @@ COMMENT= Perl module for reflowing text files
PERL_CONFIGURE= yes
MAN3= Text::Reflow.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-pre-everything::
- @${PERL} -M5.006 -e1 2>/dev/null || \
- ( ${ECHO_MSG} "===> Requires perl 5.6 or above (available from the port collection)"; \
- ${FALSE} )
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} < 500601
+IGNORE= "Requires perl 5.6.1"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-Reflow/pkg-descr b/textproc/p5-Text-Reflow/pkg-descr
index 0624cb101d56..6509dbd5b401 100644
--- a/textproc/p5-Text-Reflow/pkg-descr
+++ b/textproc/p5-Text-Reflow/pkg-descr
@@ -2,4 +2,4 @@ These routines will reflow the paragraphs in the given file, filehandle,
string or array using Knuth's paragraphing algorithm (as used in TeX) to
pick "good" places to break the lines.
-WWW: http://search.cpan.org/author/MWARD/Text-Reflow/
+WWW: http://search.cpan.org/dist/Text-Reflow/
diff --git a/textproc/p5-Text-Reflow/pkg-plist b/textproc/p5-Text-Reflow/pkg-plist
index 0018d8a10b05..7bc7dd1dca7c 100644
--- a/textproc/p5-Text-Reflow/pkg-plist
+++ b/textproc/p5-Text-Reflow/pkg-plist
@@ -1,7 +1,8 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reflow/Reflow.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reflow/Reflow.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reflow/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/Reflow.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reflow
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text > /dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text > /dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Reflow/Reflow.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Reflow/Reflow.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Reflow/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/Reflow.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Reflow
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text > /dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Text > /dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Text > /dev/null || true