From e7c081a46c90d9f4f602915cff5401ba0567993d Mon Sep 17 00:00:00 2001 From: Koichiro Iwao Date: Mon, 28 Oct 2019 00:34:10 +0000 Subject: [PATCH] New port: misc/mc-nox11: misc/mc but without x11 dependencies PR: 238425 Submitted by: Dmitry Wagin Approved by: portmgr (maintainer timeout: 2 months) --- misc/mc-nox11/Makefile | 7 +++++++ misc/mc/Makefile | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 misc/mc-nox11/Makefile diff --git a/misc/mc-nox11/Makefile b/misc/mc-nox11/Makefile new file mode 100644 index 000000000000..4836ea149f30 --- /dev/null +++ b/misc/mc-nox11/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../mc +PKGNAMESUFFIX= -nox11 +OPTIONS_EXCLUDE= X11 + +.include "${MASTERDIR}/Makefile" diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 9d1d1c09b0b9..a8c5c17df628 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -3,7 +3,7 @@ PORTNAME= mc PORTVERSION= 4.8.22 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc shells MASTER_SITES= http://ftp.midnight-commander.org/ \ https://ftp.osuosl.org/pub/midnightcommander/ @@ -60,6 +60,8 @@ SUBSHELL_CONFIGURE_WITH=subshell X11_CONFIGURE_ENABLE= x X11_USE= xorg=x11,xext +X11_VARS= CONFLICTS_INSTALL+="mc-nox11-[0-9]*" +X11_VARS_OFF= CONFLICTS_INSTALL+="mc-[0-9]*" PKGNAMESUFFIX=-nox11 PORTDOCS= *