Porting applications with "nice" installers

Fernando Apesteguía fernando.apesteguia at gmail.com
Tue Jun 26 11:56:16 UTC 2012


Hi,

I found two applications I would like to port. Both are written in
java (not a problem) and both provide a graphical installer. The
latter raises a couple of questions:

One of the applications asks during the installation if you want to
install Community (free of use) or Enterprise (evaluation only)
editions and I'm not sure how to specify the Community edition without
using the installer. Executing the main .java file in the sources
seems to assume it is the evaluation only copy.

The other application, when executed always launches an update
installer that downloads the latest java files in the user home
directory. Write permissions for the execution directory seems to be
necessary (hence the fact that the application installs into the user
home by default). How can I proceed here? If I install the
"application" under /usr/local then nobody can execute it to launch
the update application because there are not write permissions and the
application doesn't run. Creating a directory with write permissions
for anyone is not acceptable for several reasons either.

Any ports dealing with these situations that I can use as a reference?

Thanks in advance.


More information about the freebsd-ports mailing list