From: Naram Qashat on
I am attempting to update the sysutils/di port from 4.19 to 4.20. Prior to
4.19, there was a Build script in place that did configuring and building,
including if the .po files for NLS were to be utilized or not. With 4.20, they
have done away with this Build script and now only have a Makefile to handle
configuring and building in one step. Installing was done manually instead of
using Build, although I could use the install step of the Makefile now.

It seems as though the option to enable or disable if NLS is used has been
removed from the latest version as well. With 4.19 and earlier, I could call
the build-po target of the Build script when I needed to, since I was telling
Build earlier if I wanted NLS or not. Trying to do the same with calling the
Makefile doesn't seem to work, as it doesn't seem to properly invoke certain
commands in the Makefile. The command they created to help determine if NLS
should be enabled or disabled does not seem to have a flag to allow the user to
choose so.

What I did with the port, so far, is removed the do-configure step, changed the
do-build step to call ${MAKE} instead of ./Build, also trying to call ${MAKE}
build-po if WITHOUT_NLS is not set (but this fails because the Makefile doesn't
properly include certain variables), and changed the do-install step to call
${MAKE} install instead of manually copying files, also trying to use ${MAKE}
install-po if WITHOUT_NLS is not set, same problem as build-po.

If I am doing something incorrectly, please let me know. I am attaching my
current diff of the port, which includes the old parts commented out as I was
still testing the port. Any help is appreciated. If I need to clarify
anything, let me know.

Thanks,
Naram Qashat