aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2020-10-15 17:46:09 +0800
committerJoseph Mingrone <jrm@FreeBSD.org>2020-10-15 17:46:09 +0800
commite26fca5848bc4d8957585863bb34d880badf7db0 (patch)
tree66548e0ed19f05361aafc5e256aafa347a0911a8 /editors
parentbbae5325c920303dd78535151da31d7ed2c6e478 (diff)
downloadfreebsd-ports-gnome-e26fca5848bc4d8957585863bb34d880badf7db0.tar.gz
freebsd-ports-gnome-e26fca5848bc4d8957585863bb34d880badf7db0.tar.zst
freebsd-ports-gnome-e26fca5848bc4d8957585863bb34d880badf7db0.zip
Emacs ports: Simplify flavor comments
Suggested by: mat Reviewed by: emacs (ashish)
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs-devel/Makefile6
-rw-r--r--editors/emacs/Makefile9
2 files changed, 5 insertions, 10 deletions
diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile
index dd6929803faa..2e10e37c1c07 100644
--- a/editors/emacs-devel/Makefile
+++ b/editors/emacs-devel/Makefile
@@ -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
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index f4816a77ad52..b7686f27d06e 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -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