--- port/master.mk.in.orig	2019-09-25 01:28:25 UTC
+++ port/master.mk.in
@@ -426,11 +426,11 @@ $(MANDIR)/dummy.man $(MANDIR)/$(MANUAL):	$(MANDIR) $(M
 	case `uname -s` in \
 	    OSF1*|IRIX*|HP-UX) \
 		sed \
-     -e '/^\.TH/s/$$D\ate: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*\$$/\1-\2-\3/'\
+     -e '/^\.TH/s/$$Date: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*$$/\1-\2-\3/'\
 		 $(MANUAL) > $@;; \
 	    *) \
 		sed \
-     -e '/^\.TH/s/$$D\ate: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*\$$/\1-\2-\3/'\
+     -e '/^\.TH/s/$$Date: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*$$/\1-\2-\3/'\
 		 $(MANUAL) | $(TBL) | $(NEQN) > $@;; \
 	esac
 	extension=`echo $(MANUAL) | sed 's/[^.]*\.//'`; \
