do not seem to work for me on amd64, e.g. "hfs read": zero-sized files are
copied to destination. Perhaps it is caused by careless assumption of the
types' sizes (excerpt from hfs0_37/endian.h):
typedef unsigned long ULONG; // 32 bit unsigned
typedef long LONG; // 32 bit signed
typedef unsigned int UINT; // 16 bit unsigned
typedef int INT; // 16 bit signed
typedef unsigned char BYTE; // 8 bit unsigned
typedef char SBYTE; // 8 bit signed
typedef int BOOL; // boolean value
`sysutils/ufsutils' provides better alternative: easier to use, has alive
upstream, and works correctly on amd64 (presumably on i386 as well).
While here, also explicitly mention that there is no HFS+ volumes support
available.
- Use DISTVERSION because it contains underscore instead of dot
- Define LICENSE (GPLv2)
- Install README file (as PORTDOCS)
- Remove custom configure script: pass variables to make(1) instead
- Respect CFLAGS (original "-O" probably was sensible default 18.5
years ago when the port was first added, but makes no sense now)
- Remove no-op `pre-install' target (do not create directories that
are part of the mtree)
- Cleanup and reformat port description while here
This port (along with similar `emulators/hfsutils') should probably
be moved to sysutils; `sysutils/hfsexplorer' already lives there.
PLISTs.
Note: I know that this is going to break some symlinks and/or .so
includes, I will back some of these out as I run into these during
package building.