aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Reflow
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-05-03 09:30:36 +0800
committerleeym <leeym@FreeBSD.org>2003-05-03 09:30:36 +0800
commitecb190dae23f21cb50bb0c1db8b831869e380354 (patch)
treeebb418c05936e8ec9d60fe7243bb3493997fb2e0 /textproc/p5-Text-Reflow
parentb803fab344393b6ede45a8d75db3ac70e9297e85 (diff)
downloadfreebsd-ports-gnome-ecb190dae23f21cb50bb0c1db8b831869e380354.tar.gz
freebsd-ports-gnome-ecb190dae23f21cb50bb0c1db8b831869e380354.tar.zst
freebsd-ports-gnome-ecb190dae23f21cb50bb0c1db8b831869e380354.zip
Cleanups, use PERL_LEVEL and not a pre-everything::
PR: 51689 Submitted by: Mathieu Arnold <m@absolight.net>
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