1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- update to 2.30.

- no long support perl 5.005.
- although it requires p5-Data-Dumper, which may need by perl5.6 (described
  in devel/p5-Data-Dumper/Makefile), but perl5.6 indeed install one.
  And txt2html does not need newer module ( Data::Dumper => 0).

Approved by:	vanilla (co-mentor)
This commit is contained in:
Cheng-Lung Sung 2004-09-02 08:23:45 +00:00
parent 8a0570b491
commit 16e552c5b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117906
3 changed files with 5 additions and 10 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= txt2html
PORTVERSION= 2.23
PORTVERSION= 2.30
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= txt2html
@ -17,7 +17,7 @@ COMMENT= Convert raw text to something with a little HTML formatting
BUILD_DEPENDS= ${SITE_PERL}/Getopt/ArgvFile.pm:${PORTSDIR}/devel/p5-Getopt-ArgvFile
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
PERL_MODBUILD= yes
MAN1= txt2html.1
MAN3= HTML::TextToHTML.3
@ -25,9 +25,7 @@ MAN3= HTML::TextToHTML.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser \
${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS= ${BUILD_DEPENDS}
IGNORE="Need at least perl 5.6.1 to build"
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
MD5 (txt2html-2.23.tar.gz) = dbcd7a64ec87ad5753755a0321d777d6
SIZE (txt2html-2.23.tar.gz) = 90665
MD5 (txt2html-2.30.tar.gz) = 8ddf7e0839187ecdec61d8e108f66b86
SIZE (txt2html-2.30.tar.gz) = 94667

View File

@ -1,8 +1,5 @@
bin/txt2html
share/txt2html/txt2html.dict
%%SITE_PERL%%/HTML/TextToHTML.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/TextToHTML/.packlist
@dirrm share/txt2html
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/TextToHTML
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true