diff options
author | Yasuhiro KIMURA <yasu@utahime.org> | 2021-10-21 15:05:29 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2021-11-15 15:06:15 +0000 |
commit | f32475f3a44fe79191e6063066459c82a7a43986 (patch) | |
tree | 7aa69db552757b239c07961122f24a80464e210c /Mk | |
parent | 93bd2cd9be8d08210200ae0546eac1ebd18e6c1f (diff) | |
download | ports-f32475f3a44fe79191e6063066459c82a7a43986.tar.gz ports-f32475f3a44fe79191e6063066459c82a7a43986.zip |
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/emacs.mk | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Mk/Uses/emacs.mk b/Mk/Uses/emacs.mk index 31f9935351ec..6cc2a98dcc13 100644 --- a/Mk/Uses/emacs.mk +++ b/Mk/Uses/emacs.mk @@ -101,7 +101,7 @@ EMACS_FLAVOR= full .endif .if ${FLAVOR:Mdevel*} -EMACS_VER= 29.0.50 +EMACS_VER= 29.0.50 EMACS_PORTDIR= editors/emacs-devel .else EMACS_VER= 27.2 @@ -113,12 +113,14 @@ EMACS_LIBDIR= share/emacs EMACS_LIBDIR_WITH_VER= share/emacs/${EMACS_VER} EMACS_PORT_NAME= emacs${EMACS_MAJOR_VER} -.if ${FLAVOR:M*nox} -EMACS_PKGNAMESUFFIX= -${EMACS_PORT_NAME}_nox -.elif ${FLAVOR:Mcanna} -EMACS_PKGNAMESUFFIX= -${EMACS_PORT_NAME}_canna +.if ${EMACS_FLAVOR} == "devel_full" +EMACS_PKGNAMESUFFIX= -emacs_devel +.elif ${EMACS_FLAVOR} == "devel_nox" +EMACS_PKGNAMESUFFIX= -emacs_devel_nox +.elif ${EMACS_FLAVOR} == "full" +EMACS_PKGNAMESUFFIX= .else -EMACS_PKGNAMESUFFIX= -${EMACS_PORT_NAME} +EMACS_PKGNAMESUFFIX= -emacs_${EMACS_FLAVOR} .endif EMACS_CMD= ${PREFIX}/bin/emacs-${EMACS_VER} |