git: 61e4a788ecab - main - ports-mgmt/dialog4ports: mark as deprecated and broken on current

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 20 Dec 2023 17:02:43 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=61e4a788ecab79b43ad76b9a76128d4f26fc81fd

commit 61e4a788ecab79b43ad76b9a76128d4f26fc81fd
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-12-20 17:01:50 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-12-20 17:02:28 +0000

    ports-mgmt/dialog4ports: mark as deprecated and broken on current
---
 ports-mgmt/dialog4ports/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ports-mgmt/dialog4ports/Makefile b/ports-mgmt/dialog4ports/Makefile
index cc64b94f05b4..5b951ea9653a 100644
--- a/ports-mgmt/dialog4ports/Makefile
+++ b/ports-mgmt/dialog4ports/Makefile
@@ -21,6 +21,12 @@ USES=		uidfix
 NO_CCACHE=	yes
 MAKE_ENV+=	__MAKE_CONF=/dev/null SRCCONF=/dev/null
 
+.if !exists(/usr/lib/libdialog.so)
+BROKEN=		Requires libdialog in base
+.endif
+
+DEPRECATED=	Consider using ports-mgmt/portconfig which is a dropin replacement
+
 .if !defined(D4P_SLAVE)
 PLIST_FILES=	bin/dialog4ports man/man1/${PORTNAME}.1.gz
 .endif