Here is a diff to revert the changes. Hopefully, I did it correctly.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/wget/Makefile,v
retrieving revision 1.76
diff -u -p -r1.76 Makefile
--- Makefile 21 Feb 2019 22:32:31 -0000 1.76
+++ Makefile 22 Feb 2019 01:24:18 -0000
@@ -4,6 +4,7 @@ COMMENT = retrieve files from the web vi
DISTNAME = wget-1.20.1
CATEGORIES = net
+EPOCH = 0
HOMEPAGE = https://www.gnu.org/software/wget/
MAINTAINER = Nam Nguyen <n...@berkeley.edu>
@@ -13,9 +14,7 @@ PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c crypto iconv idn2 intl pcre2-8 psl ssl unistring z
-BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
- ${MODGNU_AUTOMAKE_DEPENDS} \
- devel/gettext-tools
+BUILD_DEPENDS = devel/gettext-tools
LIB_DEPENDS = converters/libunistring \
devel/gettext \
@@ -39,8 +38,6 @@ FAKE_FLAGS = sysconfdir="${PREFIX}/shar
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-ssl=openssl
-AUTOCONF_VERSION = 2.69
-AUTOMAKE_VERSION = 1.16
# hack to avoid depending on python3 at build time
CONFIGURE_ARGS += PYTHON="" \
am_cv_pathless_PYTHON="${MODPY_BIN}"