Move editors/emacs to editors/emacs23, and change its PKGNAME from
emacs-23.4 to emacs23-23.4.
Move editors/emacs-nox11 to editors/emacs23-nox11, and change its
PKGNAME from emacs-nox11-23.4 to emacs23-nox11-23.4.
Move editors/emacs to editors/emacs23.
Move editors/emacs-nox11 to editors/emacs23-nox11.
Change PKGNAME from emacs-24.2 to emacs24-24.2.
Change PKGNAME from emacs-nox11-24.2 to emacs24-nox11-24.2.
Insert ${_EMACS_VERSION_MAJOR} in PKGNAME.
While here, fix wrong (emacs23-era) pattern in version.mk.

Caution: The distfile appears to have vanished, so I can't build this
package and it may not work.
This was wrong again; didn't get incremented after the last update.
(Not my doing.)
Oops, nearly forgot to update the paths here for the emacs23 move.
Add an emacs meta-package. This will install your preferred emacs based
on EMACS_TYPE.

It does some moderately unclean things with versions and PKGREVISION so
that updating should work seamlessly -- this package should end up with
the same PKGNAME (emacs) and the same version (24.2, 23.4, etc.) and
one PKGREVISION higher than the previously existing emacs packages.
nox11 version of the meta-package in editors/emacs. This will always
build the nox11 version of the emacs type in EMACS_TYPE.
+emacs23, emacs23-nox11
Move COMMENT into Makefile.common so emacs21-nox11 gets it.
Put the Emacs version in all the DESCR files. Ride the bumps I just did.
Oops, setting PKGNAME once is enough.
Set emacs22 up with a proper Makefile.common instead of including
the whole makefile from emacs22-nox11.