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 commit is contained in:
dholland 2013-02-17 06:18:01 +00:00
parent 3b62b0a3db
commit 58d4580ec9
3 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.37 2013/02/16 11:20:54 wiz Exp $
# $NetBSD: Makefile,v 1.38 2013/02/17 06:18:01 dholland Exp $
CONFLICTS+= emacs-nox11-[0-9]*
CONFLICTS+= emacs${_EMACS_VERSION_MAJOR}-nox11-[0-9]*
.include "../../editors/emacs-snapshot/Makefile.common"

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile.common,v 1.54 2013/02/12 04:47:31 minskim Exp $
# $NetBSD: Makefile.common,v 1.55 2013/02/17 06:18:01 dholland Exp $
DISTNAME= emacs-snapshot_20130207.orig
PKGNAME= ${DISTNAME:S/snapshot_/${EMACS_VERSION}./:S/.orig//}
SNAPDATE= ${DISTNAME:S/emacs-snapshot_//:S/.orig//}
PKGNAME= emacs${_EMACS_VERSION_MAJOR}-${EMACS_VERSION}.${SNAPDATE}
CATEGORIES= editors
MASTER_SITES= http://emacs.naquadah.org/unstable/
EXTRACT_SUFX= .tar.xz

View file

@ -1,7 +1,8 @@
# $NetBSD: version.mk,v 1.13 2013/02/12 04:47:31 minskim Exp $
# $NetBSD: version.mk,v 1.14 2013/02/17 06:18:01 dholland Exp $
_EMACS_FLAVOR= emacs
_EMACS_REQD= emacs>=23
#_EMACS_REQD= emacs25>=25
_EMACS_REQD= emacs24>=24.3
_EMACS_PKGDEP.base=
_EMACS_PKGDEP.leim=