freebsd-ports/cad/opencascade/files/patch-wok_lib_pkgIndex.tcl
Thierry Thomas de5ea4454a Open CASCADE Technology is a software development platform freely available in
open source. It includes components for 3D surface and solid modeling,
visualization, data exchange and rapid application development.

Open CASCADE Technology can be best applied in development of numerical
simulation software including CAD/CAM/CAE, AEC and GIS, as well as PDM
applications.

BUGS: the module WOK does not work, but the other modules (the most
interesting parts) are OK.
2007-04-01 09:04:04 +00:00

37 lines
1.6 KiB
Tcl

--- wok/lib/pkgIndex.tcl.orig Fri Sep 21 10:07:48 2001
+++ wok/lib/pkgIndex.tcl Mon Aug 7 18:33:04 2006
@@ -30,6 +30,34 @@
###########################################
+if { $tcl_platform(os) == "FreeBSD" } {
+package ifneeded Woktools 2.0 "tclPkgSetup $dir/bsd Woktools 2.0 {
+ {libwoktoolscmd.so load {
+ msgprint msgisset msgissetcmd msgissetlong msgset msgsetcmd
+ msgsetlong msgunset msgunsetcmd msgunsetlong msgsetheader
+ msgunsetheader msgissetheader msginfo}}}"
+
+package ifneeded Wokutils 2.0 "tclPkgSetup $dir Wokutils 2.0 {
+ {libwokutilscmd.so load { wokcmp} } }"
+
+package ifneeded Wok 2.0 "package require Woktools;
+ tclPkgSetup $dir/bsd Wok 2.0 {
+ {libwokcmd.so load {
+ Sinfo Wcreate Winfo Wrm Wdeclare fcreate finfo frm pinfo screate
+ sinfo srm ucreate uinfo umpmake umake urm w_info wcreate
+ wokcd wokclose wokinfo wokparam wokprofile wokenv wrm wmove
+ stepinputaddstepinputinfo stepoutputadd stepoutputinfo stepaddexecdepitem }}}"
+
+package ifneeded Ms 2.0 "package require Woktools;
+ tclPkgSetup $dir/bsd Ms 2.0 {
+ {libmscmd.so load {
+ mscheck msclear msclinfo msextract msgeninfo msinfo msinstinfo
+ msmmthinfo msmthinfo mspkinfo msschinfo msrm msstdinfo
+ mstranslate msxmthinfo}}}"
+ }
+
+###########################################
+
if { $tcl_platform(os) == "SunOS" } {
package ifneeded Woktools 2.0 "tclPkgSetup $dir/sun Woktools 2.0 {
{libwoktoolscmd.so load {