If you use the pkgproto command to create your basic prototype file, you can assign all the package objects to the none class or to one, specific class. As shown in Example—Creating a prototype File With the pkgproto Command, the basic pkgproto command assigns all objects to the none class. To assign all objects to a specific class, you can use the -c option. For example:
$ pkgproto -c classname /home/jane/SUNWcadap > /home/jane/InfoFiles/prototype
If you use multiple classes, you might need to manually edit the prototype file and modify the class field for each object. If you use classes, you also need to define the CLASSES parameter in the pkginfo file and write class action scripts. Using classes is an optional feature and is discussed in detail in Writing Class Action Scripts.