forked from pool/graphviz
52 lines
1.1 KiB
Diff
52 lines
1.1 KiB
Diff
--- tclpkg/gv/gv_doc_langs.tcl
|
|
+++ tclpkg/gv/gv_doc_langs.tcl
|
|
@@ -155,7 +155,7 @@
|
|
}
|
|
SYNOPSIS {
|
|
{#!/usr/bin/lua}
|
|
- {lib=loadlib('/usr/lib/graphviz/lua/libgv_lua.so','Gv_Init')}
|
|
+ {lib=loadlib('@LIB_DIR@/graphviz/lua/libgv_lua.so','Gv_Init')}
|
|
{assert(lib)()}
|
|
}
|
|
USAGE {
|
|
@@ -236,7 +236,7 @@
|
|
}
|
|
SYNOPSIS {
|
|
{#!/usr/bin/perl}
|
|
- {use lib "/usr/lib/graphviz/perl"}
|
|
+ {use lib "@LIB_DIR@/graphviz/perl"}
|
|
{use gv;}
|
|
}
|
|
USAGE {
|
|
@@ -320,7 +320,7 @@
|
|
SYNOPSIS {
|
|
{#!/usr/bin/python}
|
|
{import sys}
|
|
- {sys.path.append('/usr/lib/graphviz/python')}
|
|
+ {sys.path.append('@LIB_DIR@/graphviz/python')}
|
|
{import gv}
|
|
}
|
|
USAGE {
|
|
@@ -361,7 +361,7 @@
|
|
Gv. ( {, } {);}
|
|
}
|
|
SYNOPSIS {
|
|
- {export RUBYLIB=/usr/lib/graphviz/ruby}
|
|
+ {export RUBYLIB=@LIB_DIR@/graphviz/ruby}
|
|
{}
|
|
{#!/usr/bin/ruby}
|
|
{require 'gv'}
|
|
@@ -405,10 +405,10 @@
|
|
}
|
|
SYNOPSIS {
|
|
{#!/usr/bin/tclsh}
|
|
- {load /usr/lib/graphviz/tcl/gv.so}
|
|
+ {package require gv}
|
|
}
|
|
USAGE {
|
|
- {Requires tcl7.6 or later.}
|
|
+ {Requires tcl8.3 or later.}
|
|
}
|
|
}
|
|
}
|