Recover x11/xdialog under FreeBSD switching it to glib20.

Requested by:	Nick Kostirya
This commit is contained in:
Eugene Grosbein 2021-01-01 14:43:09 +00:00
parent 004f6d9603
commit df079a8b8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559829
6 changed files with 155 additions and 1 deletions

1
MOVED
View File

@ -10810,7 +10810,6 @@ french/php_doc||2018-12-21|Has expired: unmaintained and documents obsolete PHP
japanese/php_doc||2018-12-21|Has expired: unmaintained and documents obsolete PHP < 5.6
net/ntop||2018-12-21|Has expired: Broken for more than 6 months
textproc/ots||2018-12-21|Has expired: Broken for more than 6 months
x11/xdialog||2018-12-21|Has expired: Uses obsolete glib12
net/netdude||2018-12-21|Has expired: Uses obsolete glib12
japanese/jmode-skk||2018-12-21|Has expired: Uses obsolete glib12
print/gsview||2018-12-21|Has expired: Uses obsolete glib12

View File

@ -417,6 +417,7 @@
SUBDIR += xcursorgen
SUBDIR += xcut
SUBDIR += xdg-desktop-portal-wlr
SUBDIR += xdialog
SUBDIR += xditview
SUBDIR += xdm
SUBDIR += xdo

43
x11/xdialog/Makefile Normal file
View File

@ -0,0 +1,43 @@
# Created by: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
# $FreeBSD$
PORTNAME= xdialog
PORTVERSION= 2.3.1
PORTREVISION= 8
CATEGORIES= x11
MASTER_SITES= http://xdialog.free.fr/
DISTNAME= ${PORTNAME:S/x/X/}-${PORTVERSION}
MAINTAINER= ler@FreeBSD.org
COMMENT= Drop in replacement for the "dialog" or "cdialog" programs
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= localbase tar:bzip2
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk2
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|m4 lib src|m4 src|g ; \
s|-I../lib||g ; \
s|-L../lib -lgetopt||g ; \
s| install-docDATA||g'
@${REINPLACE_CMD} -e 's,Xdialog\\-%%version%%,xdialog,' \
${WRKSRC}/doc/Xdialog.man
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/samples
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${DOCSDIR}/samples
.include <bsd.port.mk>

2
x11/xdialog/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (Xdialog-2.3.1.tar.bz2) = 1d446899697145fc36623d8afdd274066177da9383a6b619c18e8eb1b2ba589a
SIZE (Xdialog-2.3.1.tar.bz2) = 457938

6
x11/xdialog/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Xdialog is designed to be a drop in replacement for the "dialog" or
"cdialog" programs. It converts any terminal based program into a
program with an X-windows interface. The dialogs are easier to see
and use while adding even more functionalities.
WWW: http://xdialog.free.fr/

103
x11/xdialog/pkg-plist Normal file
View File

@ -0,0 +1,103 @@
bin/Xdialog
man/man1/Xdialog.1.gz
%%PORTDOCS%%%%DOCSDIR%%/2ranges.png
%%PORTDOCS%%%%DOCSDIR%%/authors.html
%%PORTDOCS%%%%DOCSDIR%%/box.html
%%PORTDOCS%%%%DOCSDIR%%/buildlist.png
%%PORTDOCS%%%%DOCSDIR%%/calendar.png
%%PORTDOCS%%%%DOCSDIR%%/center.png
%%PORTDOCS%%%%DOCSDIR%%/changelog.html
%%PORTDOCS%%%%DOCSDIR%%/check.png
%%PORTDOCS%%%%DOCSDIR%%/checklist.png
%%PORTDOCS%%%%DOCSDIR%%/colorsel.png
%%PORTDOCS%%%%DOCSDIR%%/combobox.png
%%PORTDOCS%%%%DOCSDIR%%/common.html
%%PORTDOCS%%%%DOCSDIR%%/compatibility.html
%%PORTDOCS%%%%DOCSDIR%%/dselect.png
%%PORTDOCS%%%%DOCSDIR%%/editbox.png
%%PORTDOCS%%%%DOCSDIR%%/faq.html
%%PORTDOCS%%%%DOCSDIR%%/fill.png
%%PORTDOCS%%%%DOCSDIR%%/fixedfont.png
%%PORTDOCS%%%%DOCSDIR%%/fontsel.png
%%PORTDOCS%%%%DOCSDIR%%/fselect.png
%%PORTDOCS%%%%DOCSDIR%%/gauge.png
%%PORTDOCS%%%%DOCSDIR%%/gtk.html
%%PORTDOCS%%%%DOCSDIR%%/icon.png
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/infobox.png
%%PORTDOCS%%%%DOCSDIR%%/input.png
%%PORTDOCS%%%%DOCSDIR%%/intro.html
%%PORTDOCS%%%%DOCSDIR%%/labelcenter.png
%%PORTDOCS%%%%DOCSDIR%%/labelleft.png
%%PORTDOCS%%%%DOCSDIR%%/labelright.png
%%PORTDOCS%%%%DOCSDIR%%/left.png
%%PORTDOCS%%%%DOCSDIR%%/license.html
%%PORTDOCS%%%%DOCSDIR%%/logbox.png
%%PORTDOCS%%%%DOCSDIR%%/msgbox.png
%%PORTDOCS%%%%DOCSDIR%%/nofixedfont.png
%%PORTDOCS%%%%DOCSDIR%%/notags.png
%%PORTDOCS%%%%DOCSDIR%%/password.png
%%PORTDOCS%%%%DOCSDIR%%/radiolist.png
%%PORTDOCS%%%%DOCSDIR%%/range.png
%%PORTDOCS%%%%DOCSDIR%%/rcfile.png
%%PORTDOCS%%%%DOCSDIR%%/right.png
%%PORTDOCS%%%%DOCSDIR%%/samples/Xdialog.wrapper.c
%%PORTDOCS%%%%DOCSDIR%%/samples/Xmessage
%%PORTDOCS%%%%DOCSDIR%%/samples/Xmore
%%PORTDOCS%%%%DOCSDIR%%/samples/allrpms
%%PORTDOCS%%%%DOCSDIR%%/samples/bluebox.rc
%%PORTDOCS%%%%DOCSDIR%%/samples/buildlist
%%PORTDOCS%%%%DOCSDIR%%/samples/calendar
%%PORTDOCS%%%%DOCSDIR%%/samples/chain
%%PORTDOCS%%%%DOCSDIR%%/samples/checklist
%%PORTDOCS%%%%DOCSDIR%%/samples/dselect
%%PORTDOCS%%%%DOCSDIR%%/samples/editbox
%%PORTDOCS%%%%DOCSDIR%%/samples/fixed-font.rc
%%PORTDOCS%%%%DOCSDIR%%/samples/format1440
%%PORTDOCS%%%%DOCSDIR%%/samples/fselect
%%PORTDOCS%%%%DOCSDIR%%/samples/gauge
%%PORTDOCS%%%%DOCSDIR%%/samples/infobox
%%PORTDOCS%%%%DOCSDIR%%/samples/infobox2
%%PORTDOCS%%%%DOCSDIR%%/samples/inputbox
%%PORTDOCS%%%%DOCSDIR%%/samples/install-wrapper
%%PORTDOCS%%%%DOCSDIR%%/samples/kernel
%%PORTDOCS%%%%DOCSDIR%%/samples/logbox
%%PORTDOCS%%%%DOCSDIR%%/samples/logbox2
%%PORTDOCS%%%%DOCSDIR%%/samples/login
%%PORTDOCS%%%%DOCSDIR%%/samples/menubox
%%PORTDOCS%%%%DOCSDIR%%/samples/msgbox
%%PORTDOCS%%%%DOCSDIR%%/samples/no-entry.xpm
%%PORTDOCS%%%%DOCSDIR%%/samples/radiolist
%%PORTDOCS%%%%DOCSDIR%%/samples/rangebox
%%PORTDOCS%%%%DOCSDIR%%/samples/set-time
%%PORTDOCS%%%%DOCSDIR%%/samples/tailbox
%%PORTDOCS%%%%DOCSDIR%%/samples/textbox
%%PORTDOCS%%%%DOCSDIR%%/samples/timebox
%%PORTDOCS%%%%DOCSDIR%%/samples/treeview
%%PORTDOCS%%%%DOCSDIR%%/samples/warning.xpm
%%PORTDOCS%%%%DOCSDIR%%/samples/xlock-wrapper
%%PORTDOCS%%%%DOCSDIR%%/samples/yesno
%%PORTDOCS%%%%DOCSDIR%%/special.html
%%PORTDOCS%%%%DOCSDIR%%/spinbox.png
%%PORTDOCS%%%%DOCSDIR%%/syntax.html
%%PORTDOCS%%%%DOCSDIR%%/tailbox.png
%%PORTDOCS%%%%DOCSDIR%%/timebox.png
%%PORTDOCS%%%%DOCSDIR%%/title.png
%%PORTDOCS%%%%DOCSDIR%%/transient.html
%%PORTDOCS%%%%DOCSDIR%%/treeview.png
%%PORTDOCS%%%%DOCSDIR%%/withtags.png
%%PORTDOCS%%%%DOCSDIR%%/yesno-wizard.png
%%PORTDOCS%%%%DOCSDIR%%/yesno.png
%%NLS%%share/locale/ca/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/de/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/es/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/fr/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/hu/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/id/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/it/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/nl/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/no_NO/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/pl/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/ru/LC_MESSAGES/Xdialog.mo
%%NLS%%share/locale/sv_SE/LC_MESSAGES/Xdialog.mo