mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
devel/p5-UI-Dialog: remove optional dependency on expired x11/xdialog
While here mark the kdialog option as deprecated (depends on KDE4).
This commit is contained in:
parent
dfa92235cb
commit
7f9af0c2cd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487997
1 changed files with 8 additions and 2 deletions
|
@ -19,7 +19,7 @@ RUN_DEPENDS= p5-File-Slurp>=0:devel/p5-File-Slurp \
|
||||||
p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote
|
p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote
|
||||||
RUN_DEPENDS+= cdialog:devel/cdialog
|
RUN_DEPENDS+= cdialog:devel/cdialog
|
||||||
|
|
||||||
OPTIONS_DEFINE= KDE NEWT X11 ZENITY
|
OPTIONS_DEFINE= KDE NEWT ZENITY
|
||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
USES= perl5
|
USES= perl5
|
||||||
|
@ -27,9 +27,15 @@ USE_PERL5= configure
|
||||||
|
|
||||||
KDE_RUN_DEPENDS= kdialog:x11/kde4-baseapps
|
KDE_RUN_DEPENDS= kdialog:x11/kde4-baseapps
|
||||||
NEWT_RUN_DEPENDS= whiptail:devel/newt
|
NEWT_RUN_DEPENDS= whiptail:devel/newt
|
||||||
X11_RUN_DEPENDS= Xdialog:x11/xdialog
|
|
||||||
ZENITY_RUN_DEPENDS= zenity:x11/zenity
|
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:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "/self->{'_opts'}->{'bin'}/ s|dialog|c&|" ${WRKSRC}/lib/UI/Dialog/Backend/CDialog.pm
|
@${REINPLACE_CMD} -e "/self->{'_opts'}->{'bin'}/ s|dialog|c&|" ${WRKSRC}/lib/UI/Dialog/Backend/CDialog.pm
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue