git: 3ad9e9853246 - main - lang/php-mode.el: Update to 1.27.0

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Mon, 24 Feb 2025 21:44:59 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ad9e9853246ffa6ab62725472c4a19ea1ff54ab

commit 3ad9e9853246ffa6ab62725472c4a19ea1ff54ab
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2025-02-21 03:35:47 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2025-02-24 21:44:48 +0000

    lang/php-mode.el: Update to 1.27.0
    
    This update fixes byte-compile errors with Emacs 30.1.  See
    https://github.com/emacs-php/php-mode/pull/792 for details.
    
    Upstream switched to building with Eask, so byte compile in a do-build
    target.
    
    Release-notes:  https://github.com/emacs-php/php-mode/releases/tag/v1.27.0
    Approved by:    marc@bumblingdork.com (maintainer, timeout)
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D48433
---
 lang/php-mode.el/Makefile | 8 +++++---
 lang/php-mode.el/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/lang/php-mode.el/Makefile b/lang/php-mode.el/Makefile
index 8d9fc2e9ba94..e8bdb019bfd4 100644
--- a/lang/php-mode.el/Makefile
+++ b/lang/php-mode.el/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	php-mode.el
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.25.0
-PORTREVISION=	6
+DISTVERSION=	1.27.0
 CATEGORIES=	lang elisp
 PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
 
@@ -11,7 +10,7 @@ WWW=		https://github.com/emacs-php/php-mode
 
 LICENSE=	GPLv3
 
-USES=		emacs gmake
+USES=		emacs
 USE_GITHUB=	yes
 GH_ACCOUNT=	emacs-php
 GH_PROJECT=	${PORTNAME:S/.el$//}
@@ -47,6 +46,9 @@ LISP_FILES=	lisp/php-align.el \
 		lisp/php.el \
 		lisp/php.elc
 
+do-build:
+	${EMACS_CMD} -q --batch -L ${WRKSRC}/lisp/ -f batch-byte-compile ${WRKSRC}/lisp/*.el
+
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
 	${INSTALL_DATA} ${LISP_FILES:C/^/${WRKSRC}\//g} \
diff --git a/lang/php-mode.el/distinfo b/lang/php-mode.el/distinfo
index da753e93690e..a78ddc2af8fc 100644
--- a/lang/php-mode.el/distinfo
+++ b/lang/php-mode.el/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690218024
-SHA256 (emacs-php-php-mode-v1.25.0_GH0.tar.gz) = e0ac3ae16ac524006188e453243416c92fdd67f4cdebda92ff35cfc3ce0f32bc
-SIZE (emacs-php-php-mode-v1.25.0_GH0.tar.gz) = 139596
+TIMESTAMP = 1736631607
+SHA256 (emacs-php-php-mode-v1.27.0_GH0.tar.gz) = 2ac03fe0e553d2df630b267f51069a815e430e3b73bf14f6844244ccfbb4778f
+SIZE (emacs-php-php-mode-v1.27.0_GH0.tar.gz) = 133871