In my door scripts I create door stiles and rails as vertical members. Then I rotate rails and move them into position. This way I can use vertical wood grain for all door members.
When I want to create a list of materials for a program like cut list or Cut Master I simply look at the component axis and determine Length, Width and Thickness.
I used to have vertical and horizontal wood grain textures but I find a lot of advantages doing it this way (textures are half the size, skp files are smaller etc..)