summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-UI-Dialog/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/p5-UI-Dialog/Makefile b/devel/p5-UI-Dialog/Makefile
index 83d6116c51dc..44ac616030a8 100644
--- a/devel/p5-UI-Dialog/Makefile
+++ b/devel/p5-UI-Dialog/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= p5-File-Slurp>=0:devel/p5-File-Slurp \
p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote
RUN_DEPENDS+= cdialog:devel/cdialog
-OPTIONS_DEFINE= KDE NEWT X11 ZENITY
+OPTIONS_DEFINE= KDE NEWT ZENITY
NO_ARCH= yes
USES= perl5
@@ -27,9 +27,15 @@ USE_PERL5= configure
KDE_RUN_DEPENDS= kdialog:x11/kde4-baseapps
NEWT_RUN_DEPENDS= whiptail:devel/newt
-X11_RUN_DEPENDS= Xdialog:x11/xdialog
ZENITY_RUN_DEPENDS= zenity:x11/zenity
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MKDE}
+DEPRECATED= KDE4 is EOL
+EXPIRATION_DATE=2018-12-31
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "/self->{'_opts'}->{'bin'}/ s|dialog|c&|" ${WRKSRC}/lib/UI/Dialog/Backend/CDialog.pm