aboutsummaryrefslogtreecommitdiff
path: root/textproc/texi2html
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-07-09 11:07:50 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-07-09 11:07:50 +0000
commit1c3882eba2f7b755e6a2bae7de6988a761cada8d (patch)
tree855a196bf286ff639de8bf42ba111ebcd6e5cca0 /textproc/texi2html
parentf75cef99cf066cbe4880228ccd6cf830efd1537f (diff)
downloadports-1c3882eba2f7b755e6a2bae7de6988a761cada8d.tar.gz
ports-1c3882eba2f7b755e6a2bae7de6988a761cada8d.zip
Notes
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 __($)
+ {