Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 09:46:09 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552399 - in head/editors: emacs emacs-devel
Message-ID:  <202010150946.09F9k9QX013736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Thu Oct 15 09:46:09 2020
New Revision: 552399
URL: https://svnweb.freebsd.org/changeset/ports/552399

Log:
  Emacs ports: Simplify flavor comments
  
  Suggested by:	mat
  Reviewed by:	emacs (ashish)

Modified:
  head/editors/emacs-devel/Makefile   (contents, props changed)
  head/editors/emacs/Makefile   (contents, props changed)

Modified: head/editors/emacs-devel/Makefile
==============================================================================
--- head/editors/emacs-devel/Makefile	Thu Oct 15 09:37:09 2020	(r552398)
+++ head/editors/emacs-devel/Makefile	Thu Oct 15 09:46:09 2020	(r552399)
@@ -8,10 +8,8 @@ CATEGORIES=	editors
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	emacs@FreeBSD.org
-COMMENT=	GNU editing macros
-.if ${FLAVOR:U} == nox
-COMMENT+=	(No X flavor)
-.endif
+COMMENT=	GNU editing macros ${COMMENT_${FLAVOR}}
+COMMENT_nox=	(No X flavor)
 
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING

Modified: head/editors/emacs/Makefile
==============================================================================
--- head/editors/emacs/Makefile	Thu Oct 15 09:37:09 2020	(r552398)
+++ head/editors/emacs/Makefile	Thu Oct 15 09:46:09 2020	(r552399)
@@ -15,12 +15,9 @@ PATCH_DIST_STRIP=	-p1
 .endif
 
 MAINTAINER=	emacs@FreeBSD.org
-COMMENT=	GNU editing macros
-.if ${FLAVOR:U} == nox
-COMMENT+=	(No X flavor)
-.elif ${FLAVOR:U} == canna
-COMMENT+=	(Canna Japanese input flavor)
-.endif
+COMMENT=	GNU editing macros ${COMMENT_${FLAVOR}}
+COMMENT_nox=	(No X flavor)
+COMMENT_canna=	(Canna Japanese input flavor)
 
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010150946.09F9k9QX013736>