Emacs ports: Simplify flavor comments

Suggested by:	mat
Reviewed by:	emacs (ashish)
This commit is contained in:
Joseph Mingrone 2020-10-15 09:46:09 +00:00
parent bbae5325c9
commit e26fca5848
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552399
2 changed files with 5 additions and 10 deletions

View File

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

View File

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