It just doesn't make sense to use ${LOCALBASE}, as
if ${PREFIX} is altered to other than ${LOCALBASE}, ptex-common (the dependency) is likely to be installed
in the same alternate location.
bsd.port.mk rev. 1.304 for details on the change.
The fix here is one of the following.
(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
EXTRACT_* commands.
(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
calling the "tar" command (i.e., arguments like "-xzf" are spelled
out).
(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
add ${EXTRACT_AFTER_ARGS} to the command line as well.
(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
is set, define the other two too.
BROKEN (with the BROKEN line as far away as possible from the regular
center of activity) and forgot to move them to the right place when
I changed these to MANUAL_PACKAGE_BUILD. Sorry!
bsd.port.mk that will be committed soon, this will disable automatic
package building when PACKAGE_BUILDING is defined (so they can be
built from separate scripts).
These are no-ops for ordinary users (i.e., when PACKAGE_BUILDING is
not defined).