Make ee(1) optional via MK_EE

This commit is contained in:
Enji Cooper 2014-11-29 01:58:52 +00:00
parent 1324339bd2
commit e0cbf36b20
4 changed files with 27 additions and 1 deletions

View File

@ -78,6 +78,7 @@ __DEFAULT_YES_OPTIONS = \
DMAGENT \
DYNAMICROOT \
ED_CRYPTO \
EE \
EXAMPLES \
FDT \
FINGER \

View File

@ -1686,6 +1686,23 @@ OLD_FILES+=usr/share/dict/words
OLD_DIRS+=usr/share/dict
.endif
.if ${MK_EE} == no
OLD_FILES+=usr/bin/edit
OLD_FILES+=usr/bin/ee
OLD_FILES+=usr/bin/ree
OLD_FILES+=usr/share/man/man1/edit.1.gz
OLD_FILES+=usr/share/man/man1/ee.1.gz
OLD_FILES+=usr/share/man/man1/ree.1.gz
OLD_FILES+=usr/share/nls/C/ee.cat
OLD_FILES+=usr/share/nls/de_DE.ISO8859-1/ee.cat
OLD_FILES+=usr/share/nls/fr_FR.ISO8859-1/ee.cat
OLD_FILES+=usr/share/nls/hu_HU.ISO8859-2/ee.cat
OLD_FILES+=usr/share/nls/pl_PL.ISO8859-2/ee.cat
OLD_FILES+=usr/share/nls/pt_BR.ISO8859-1/ee.cat
OLD_FILES+=usr/share/nls/ru_RU.KOI8-R/ee.cat
OLD_FILES+=usr/share/nls/uk_UA.KOI8-U/ee.cat
.endif
#.if ${MK_EXAMPLES} == no
# to be filled in
#.endif

View File

@ -0,0 +1,5 @@
.\" $FreeBSD$
Set to not build and install
.Xr edit 1 ,
.Xr ee 1 ,
and related programs.

View File

@ -39,7 +39,6 @@ SUBDIR= alias \
dirname \
dpv \
du \
ee \
elf2aout \
elfdump \
enigma \
@ -231,6 +230,10 @@ SUBDIR+= calendar
_clang= clang
.endif
.if ${MK_EE} != "no"
SUBDIR+= ee
.endif
.if ${MK_FINGER} != "no"
SUBDIR+= finger
.endif