Date: Wed, 16 Jan 2002 05:10:02 -0800 (PST) From: "Alexey V. Neyman" <alex.neyman@auriga.ru> To: freebsd-ports@FreeBSD.org Subject: Re: misc/33906: tic program is missing from the base FreeBSD installation Message-ID: <200201161310.g0GDA2m94090@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/33906; it has been noted by GNATS. From: "Alexey V. Neyman" <alex.neyman@auriga.ru> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: bug-followup@FreeBSD.org Subject: Re: misc/33906: tic program is missing from the base FreeBSD installation Date: Wed, 16 Jan 2002 16:04:56 +0300 --------------Boundary-00=_8C81VATA8MR45G4UEN10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On 16 January 2002 15:37, you wrote: >> Considering all above, I dare suggest inclusion of >> /usr/share/misc/terminfo in BSD.usr.mtree :) At least our >> base-system libncurses uses this directory. > > I'm not sure about this one. Nothing in standard distribution seems > to use this directory, except compiling its name into libncurses. > An alternate solution would be to define TERMINFO and TERMINFO_DIRS > in src/lib/libncurses/ncurses_cfg.h to point to /usr/local, but > that would be bogus too. I think that the good compromise would > be to leave it out of BSD.usr.dist scope -- as you say, tic(8) > will create it if necessary. I agree. The only thing that worries me is that people relying on mtree(8) to check integrity of /usr will be annoyed with complaints about unknown share/misc/terminfo entry. Worth a pkg-message? Or leave this concerns alone? > By target directory first (bin, sbin), then by name within directory, > then links. The same order as in Makefile. And nope, your /sbin > entries were not alphabetically sorted. Neither are yours :-) Corrected shar archive attached. Also incorporated Ted's enhancements to pkg-descr. Regards, Alexey. -- <-------------------------> ) May the Sun and Water ( Regards, Alexey V. Neyman ) always fall upon you! ( mailto:alex.neyman@auriga.ru <-------------------------> --------------Boundary-00=_8C81VATA8MR45G4UEN10 Content-Type: text/plain; charset="iso-8859-1"; name="ncurses-utils.shar" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="ncurses-utils.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ncurses-utils # ncurses-utils/Makefile # ncurses-utils/pkg-comment # ncurses-utils/pkg-descr # ncurses-utils/pkg-plist # echo c - ncurses-utils mkdir -p ncurses-utils > /dev/null 2>&1 echo x - ncurses-utils/Makefile sed 's/^X//' >ncurses-utils/Makefile << 'END-of-ncurses-utils/Makefile' X# New ports collection makefile for: ncurses-utils X# Date created: 15 Jan 2002 X# Whom: Alexey Neyman <alex.neyman@auriga.ru> X# X# $FreeBSD$ X# X XPORTNAME= ncurses-utils XPORTVERSION= 5.1 XCATEGORIES= sysutils devel XDISTFILES= # none X XMAINTAINER= ports@FreeBSD.org X XBUILD_WRKSRC= ${WRKSRC}/progs X XNCSRC= /usr/src/contrib/ncurses X XHAS_CONFIGURE= YES XCONFIGURE_ARGS= --srcdir=${NCSRC} --prefix=${PREFIX} --with-shared \ X --datadir=/usr/share/misc \ X --with-manpage-format=normal X Xdo-extract: X @if [ ! -r ${NCSRC}/configure ]; then \ X ${ECHO} "You need the ncurses sources in"; \ X ${ECHO} "${NCSRC}"; \ X ${ECHO} "to build this port."; \ X exit 1; \ X fi X @${RM} -rf ${WRKDIR} X @${MKDIR} ${WRKSRC} X ${LN} -s ${NCSRC}/configure ${WRKSRC} X Xpre-build: X @cd ${WRKSRC}/progs; \ X ${MV} Makefile Makefile.orig; \ X ${GREP} -v "^DEPS_CURSES" Makefile.orig > Makefile X Xpost-build: X @cd ${WRKSRC}/man; \ X ${CP} ${NCSRC}/man/*.1* .; \ X for i in *.1m; do \ X ${MV} $$i $${i%.1m}.8; \ X done X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/progs/clear ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/progs/tput ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/progs/tset ${PREFIX}/bin X ${LN} ${PREFIX}/bin/tset ${PREFIX}/bin/reset X ${INSTALL_PROGRAM} ${WRKSRC}/progs/infocmp ${PREFIX}/sbin X ${INSTALL_PROGRAM} ${WRKSRC}/progs/tic ${PREFIX}/sbin X ${LN} ${PREFIX}/sbin/tic ${PREFIX}/sbin/captoinfo X ${LN} ${PREFIX}/sbin/tic ${PREFIX}/sbin/infotocap X ${INSTALL_PROGRAM} ${WRKSRC}/progs/toe ${PREFIX}/sbin X @cd ${WRKSRC}/man; \ X ${SH} edit_man.sh installing ${PREFIX}/man ${NCSRC}/man *.[18] X XMAN1= clear.1 reset.1 tput.1 tset.1 XMAN8= captoinfo.8 infocmp.8 infotocap.8 tic.8 toe.8 X X.include <bsd.port.mk> END-of-ncurses-utils/Makefile echo x - ncurses-utils/pkg-comment sed 's/^X//' >ncurses-utils/pkg-comment << 'END-of-ncurses-utils/pkg-comment' XUtilities set from ncurses(3): tic, toe, infocmp END-of-ncurses-utils/pkg-comment echo x - ncurses-utils/pkg-descr sed 's/^X//' >ncurses-utils/pkg-descr << 'END-of-ncurses-utils/pkg-descr' XThis port installs SysV-compatible ncurses(3) utilities used to Xmanipulate and convert terminfo and termcap entries. This set Xincludes tic(1m), toe(1m), infocmp(1m). X XPlease note that this port uses ncurses(3) library from the base Xsystem, thus the default directory for terminfo entries is X/usr/share/misc/terminfo. See terminfo(5) manual page for details. X XThis port uses sources from src/contrib base distribution. X X-Alexey Xalex.neyman@auriga.ru END-of-ncurses-utils/pkg-descr echo x - ncurses-utils/pkg-plist sed 's/^X//' >ncurses-utils/pkg-plist << 'END-of-ncurses-utils/pkg-plist' Xbin/clear Xbin/reset Xbin/tput Xbin/tset Xsbin/captoinfo Xsbin/infocmp Xsbin/infotocap Xsbin/tic Xsbin/toe END-of-ncurses-utils/pkg-plist exit --------------Boundary-00=_8C81VATA8MR45G4UEN10-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201161310.g0GDA2m94090>