aboutsummaryrefslogtreecommitdiff
path: root/textproc/texi2html
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/texi2html')
-rw-r--r--textproc/texi2html/Makefile3
-rw-r--r--textproc/texi2html/files/patch-texi2html.pl14
2 files changed, 17 insertions, 0 deletions
diff --git a/textproc/texi2html/Makefile b/textproc/texi2html/Makefile
index 63ce4bc53309..92241dbf7c81 100644
--- a/textproc/texi2html/Makefile
+++ b/textproc/texi2html/Makefile
@@ -7,6 +7,7 @@
PORTNAME= texi2html
PORTVERSION= 5.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= textproc
MASTER_SITES= SAVANNAH
@@ -22,6 +23,8 @@ USE_BZIP2= yes
USE_PERL5= yes
USE_GMAKE= yes
+OPTIONS_DEFINE= NLS DOCS
+
PROGRAM_PREFIX?=
PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREFIX} \
TEXINFODIR=share/texinfo
diff --git a/textproc/texi2html/files/patch-texi2html.pl b/textproc/texi2html/files/patch-texi2html.pl
new file mode 100644
index 000000000000..9631210cbf0b
--- /dev/null
+++ b/textproc/texi2html/files/patch-texi2html.pl
@@ -0,0 +1,14 @@
+--- texi2html.pl 2012-07-09 10:54:41.000000000 +0200
++++ /usr/local/bin/texi2html 2012-07-09 10:53:16.000000000 +0200
+@@ -1993,6 +1933,11 @@
+ # Messages should be untranslated for tests.
+ Locale::Messages::bindtextdomain ($messages_textdomain, "$datadir/locale");
+ }
++else
++{
++ unshift @INC, "$pkgdatadir/lib/libintl-perl/lib";
++ require Locale::Messages;
++}
+
+ sub __($)
+ {