ports/147546: Update Port: editors/emacs-devel to a snapshot of 24.x
Anonymous
swell.k at gmail.com
Sun Jun 13 12:00:16 UTC 2010
The following reply was made to PR ports/147546; it has been noted by GNATS.
From: Anonymous <swell.k at gmail.com>
To: wahjava at gmail.com
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/147546: Update Port: editors/emacs-devel to a snapshot of 24.x
Date: Sun, 13 Jun 2010 15:55:13 +0400
Please, don't abuse PORTREVISION. It's not meant to be a part of DISTNAME.
PORTREVISION is commonly used to indicate that an update has happened
that affects the *port framework itself*, but not the distributed
software (e.g., local patches or Makefile changes).
And it'd be better if you used Bazaar revision number for EMACS_REV
along with *commit date*, not the date you checked out, e.g.
EMACS_REV = bzr100530.20100604
I had to guess last commit based on lisp/ChangeLog so I could check that
the sources were pristine.
$ bzr log --timezone=utc --short -r100530 http://bzr.savannah.gnu.org/r/emacs/trunk/
%%
@@ -6,13 +6,11 @@
#
PORTNAME= emacs
-PORTVERSION= ${EMACS_VER}
-PORTREVISION= ${EMACS_REV}
+PORTVERSION= ${EMACS_VER}.${EMACS_REV:C/^bzr.*\.//}
PORTEPOCH= 1
CATEGORIES= editors ipv6
MASTER_SITES= http://wahjava.users.sourceforge.net/
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}_${EMACS_REV}
MAINTAINER= ashish at FreeBSD.org
COMMENT= GNU editing macros
@@ -27,7 +25,7 @@ CONFLICTS= emacs-19.* emacs-21.* emacs-22.* emacs-23.* \
INSTALLS_ICONS= yes
EMACS_VER= 24.0.50
-EMACS_REV= 20100605
+EMACS_REV= bzr100530.20100605
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
%%
More information about the freebsd-ports-bugs
mailing list