From owner-freebsd-hackers Tue Jan 7 03:40:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA16863 for hackers-outgoing; Tue, 7 Jan 1997 03:40:03 -0800 (PST) Received: from dfw-ix2.ix.netcom.com (dfw-ix2.ix.netcom.com [206.214.98.2]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id DAA16799; Tue, 7 Jan 1997 03:39:57 -0800 (PST) Received: from silvia.HIP.Berkeley.EDU (wck-ca14-58.ix.netcom.com [207.92.174.122]) by dfw-ix2.ix.netcom.com (8.6.13/8.6.12) with ESMTP id DAA27848; Tue, 7 Jan 1997 03:38:54 -0800 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.4/8.6.9) id DAA04094; Tue, 7 Jan 1997 03:38:20 -0800 (PST) Date: Tue, 7 Jan 1997 03:38:20 -0800 (PST) Message-Id: <199701071138.DAA04094@silvia.HIP.Berkeley.EDU> To: jmacd@CS.Berkeley.EDU CC: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org In-reply-to: <199701071113.DAA01100@paris.CS.Berkeley.EDU> (message from Josh MacDonald on Tue, 07 Jan 1997 03:13:39 -0800) Subject: Re: upgrading texinfo From: asami@CS.Berkeley.EDU (Satoshi Asami) Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * install-info [--delete] info-file dir-file * * either adds or with --delete removes the entries for info-file from * dir-file. Ok. Then, we can either (1) add a post-install: target, doing the above, as well as an @exec/@unexec install-info line in pkg/PLIST, or (2) add pkg/INSTALL and pkg/DEINSTALL that do the above, and call pkg/INSTALL from the post-install: target, or (3) add new variables, say, "INFOFILE" and "INFODIR" (defaults to ${PREFIX}/info/dir), and call install-info from bsd.port.mk. However, we haven't implemented on-the-fly PLIST generation (did anyone try the patch I sent out a few days ago?), so with (3), we still need to do something with pkg/* files to make pkg_add happy. * a lot of packages will not have the extra data yet, but its easy to add * and I think it would be worth doing it just to have a ports tree * that installs info-files correctly. you either modify the texinfo * source or the info file itself, either will do. I would think those mods should be patches to texinfo source, the info files are generated during build. (Of course we can do some mv/cat magic in post-build but that seems gross....) Satoshi