Create a generic PKGMESSAGE, and use it where appropriate.
Make sure that bsd.port.pre.mk is included before bsd.squirrelmail.mk.
For ports with maintainers, I haven't switched you to the new
PKGMESSAGE, but I have corrected paths in pkg-message.in where
necessary. I also got a little over-zealous in cleaning redundant
definitions from the headers. Apologies in advance if this rubs
you the wrong way.
This plugin allows the user to turn on the display of "(read/unread)" links to
the right of any folders in their folder list that contain at least one
message. Clicking on the link will then mark all messages in this folder as
read/unread. Note that you may turn the "read/unread" link on and off by going
to the Folders page. You may even turn only the "read" or the "unread" link on
or off. It also displays a "mark all read/unread" link below the folder list to
mark all folders read/unread that are selected on the Folders page.