Installing executables with generic names
Mikhail T.
mi+thun at aldan.algebra.com
Tue Feb 14 14:26:54 UTC 2012
Hello!
I'm preparing a new port (net/udt), which installs a library with its
header file and a handful of sample applications.
The applications are rather generically named: sendfile, recvfile,
test... Having them in ${PREFIX}/bin
like that would be confusing.
I see two alternatives:
* use a port-specific prefix for each binary: udt-sendfile,
udt-recvfile, udt-test, etc.
or
* use a port-specific subdirectory: ${PREFIX}/bin/udt/ (lua seems to
do this)
The first is simpler for me, but might be a trouble for anyone porting a
script in the future, which calls the binaries by their generic name...
Opinions? Thanks! Yours,
-mi
More information about the freebsd-ports
mailing list