svn commit: r552399 - in head/editors: emacs emacs-devel

Joseph Mingrone jrm at FreeBSD.org
Thu Oct 15 09:46:10 UTC 2020


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 at 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 at 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


More information about the svn-ports-all mailing list