There is a porting document on the old site: http://sdm.openacs.org/4/porting-resources
It is probably a good starting point ...