summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/kdoc/Makefile13
-rw-r--r--textproc/kdoc/distinfo2
-rw-r--r--textproc/kdoc/files/patch-findperl11
-rw-r--r--textproc/kdoc/pkg-plist30
4 files changed, 33 insertions, 23 deletions
diff --git a/textproc/kdoc/Makefile b/textproc/kdoc/Makefile
index aa72e17..b864145 100644
--- a/textproc/kdoc/Makefile
+++ b/textproc/kdoc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdoc
-PORTVERSION= 2.1
+PORTVERSION= 2.2.2
CATEGORIES= textproc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/distribution/tar/generic/src
@@ -15,16 +15,13 @@ MAINTAINER= demon@FreeBSD.org
USE_BZIP2= yes
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500007
-BROKEN= "Requires Perl version 5.6.0"
-.endif
-
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= kdoc.1 qt2kdoc.1 makekdedoc.1
+
pre-configure:
- ${PERL} -pi -e "s#share/kdoc#lib/perl5/site_perl/${PERL_VER}#" ${WRKSRC}/Makefile.in
+ ${PERL} -pi -e "s#share/kdoc#lib/perl5/site_perl/${PERL_VER}#" \
+ ${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/kdoc/distinfo b/textproc/kdoc/distinfo
index 74eed6a..e99414a 100644
--- a/textproc/kdoc/distinfo
+++ b/textproc/kdoc/distinfo
@@ -1 +1 @@
-MD5 (kdoc-2.1.tar.bz2) = 7a485b33aa7e460381462a33a28b6302
+MD5 (kdoc-2.2.2.tar.bz2) = 8837d2c767c8043bc7e526b75be79561
diff --git a/textproc/kdoc/files/patch-findperl b/textproc/kdoc/files/patch-findperl
new file mode 100644
index 0000000..9bf58fa
--- /dev/null
+++ b/textproc/kdoc/files/patch-findperl
@@ -0,0 +1,11 @@
+--- findperl Sun Feb 18 10:46:08 2001
++++ findperl.new Fri Nov 30 18:26:10 2001
+@@ -6,7 +6,7 @@
+ do
+ if [ -x $p/perl ]
+ then
+- if $p/perl -e 'require 5.6.0;'
++ if $p/perl -e 'require 5.005;'
+ then
+ echo $p/perl > perlbin
+ exit 0
diff --git a/textproc/kdoc/pkg-plist b/textproc/kdoc/pkg-plist
index 214a634..4dcc50a 100644
--- a/textproc/kdoc/pkg-plist
+++ b/textproc/kdoc/pkg-plist
@@ -1,23 +1,25 @@
bin/kdoc
-bin/qt2kdoc
bin/makekdedoc
-lib/perl5/site_perl/%%PERL_VER%%/kdocUtil.pm
+bin/qt2kdoc
+lib/perl5/site_perl/%%PERL_VER%%/Ast.pm
+lib/perl5/site_perl/%%PERL_VER%%/Iter.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocAstGen.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocAstSearch.pm
lib/perl5/site_perl/%%PERL_VER%%/kdocAstUtil.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdocParseDoc.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocCxxDocbook.pm
lib/perl5/site_perl/%%PERL_VER%%/kdocCxxHTML.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdocLib.pm
-lib/perl5/site_perl/%%PERL_VER%%/Ast.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdocIDLhtml.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdocHTMLutil.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdoctexi.pm
lib/perl5/site_perl/%%PERL_VER%%/kdocCxxLaTeX.pm
lib/perl5/site_perl/%%PERL_VER%%/kdocDocHelper.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdocCxxDocbook.pm
-lib/perl5/site_perl/%%PERL_VER%%/Iter.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdocParser.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdocMan.pm
lib/perl5/site_perl/%%PERL_VER%%/kdocDocIter.pm
-lib/perl5/site_perl/%%PERL_VER%%/kdocAstGen.pm
-share/doc/kdoc/index.docbook
+lib/perl5/site_perl/%%PERL_VER%%/kdocHTMLutil.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocLib.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocMan.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocParseCxx.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocParseDoc.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocParsePy.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocParser.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdocUtil.pm
+lib/perl5/site_perl/%%PERL_VER%%/kdoctexi.pm
share/doc/kdoc/README
+share/doc/kdoc/index.docbook
@dirrm share/doc/kdoc
OpenPOWER on IntegriCloud