Handling a port with multiple distfiles

I'm looking at creating a port for Apache TomEE. There are 2 ways of installing TomEE:

  • As a standalone application (basically includes a Tomcat install + the TomEE bits in the lib directory
  • As a webapp (using an existing Tomcat install and deployed as a WAR file)

There are also 3 different editions:

  • Webprofile
  • JaxRS
  • Plus

All in all, there are 6 possible combinations. I was thinking about creating 2 ports: tomee and tomee-webapp. Within those ports, the user could pick which edition they want and then the correct distfile would be downloaded. Is that a reasonable scenario or would it be better to create 6 ports? I suspect most of the base Makefile could be re-used, so it wouldn't be that much extra work, but I'm worried that having that many ports might be confusing or frowned upon.
 
Back
Top