AFAIK, resin that is fluid tends to be utilized for surface treatment of wood (as a local alternative to shellac); I believe dipterocarp resin was mentioned in the book "Spirit of Wood".
Resin for setting a blade into the hilt is usually solid and mixed with beeswax (to make it less brittle) and a filler like brick dust (for better overall hardness). This needs to be done upon melting the resin & wax - be very careful since it is easily flammable and sticks to the skin like hell! There are volatile components in the resin and, thus, expect pungent smell or even smoke - best prepared outside (without open flames to avoid ignition) and with dedicated gear. Don't try it in a kitchen...
Exact ratios depend on the ingredients. Alan posted a traditional recipe here a good while ago which can serve as a good starting point. Some experimentation will be needed if you try other ingredients.
Regards,
Kai