From owner-freebsd-ports@FreeBSD.ORG Mon May 28 02:08:11 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7DF11106566B for ; Mon, 28 May 2012 02:08:11 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [204.109.61.206]) by mx1.freebsd.org (Postfix) with ESMTP id 4903D8FC0C for ; Mon, 28 May 2012 02:08:11 +0000 (UTC) Received: from krypta.anthesphoria.net (anthesphoria.net [204.109.61.206]) by anthesphoria.net (8.14.4/8.14.4) with ESMTP id q4S1mo4Z092803; Mon, 28 May 2012 05:48:50 +0400 (MSK) (envelope-from nikola.lecic@anthesphoria.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Mon, 28 May 2012 05:48:50 +0400 From: =?UTF-8?Q?Nikola_Le=C4=8Di=C4=87?= To: Stephen Montgomery-Smith , , , In-Reply-To: <4FC2D59E.3090302@missouri.edu> References: <20120526090137.001691dc@scorpio> <4FC0F8EA.1090005@missouri.edu> <4FC11B66.9000302@missouri.edu> <4b8eeb05337b220f301268ce014a159d@anthesphoria.net> <4FC2D159.4050801@missouri.edu> <4FC2D59E.3090302@missouri.edu> Message-ID: X-Sender: nikola.lecic@anthesphoria.net User-Agent: Roundcube Webmail/0.5.1 on FreeBSD Cc: Subject: Re: Request to review: print/texlive-install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 02:08:11 -0000 On Sun, 27 May 2012 20:32:14 -0500, Stephen Montgomery-Smith wrote: > Hi People, > > I have written a simple port which is in essence a wrapper around the > texlive installation script. It also builds (almost) all of the binaries > from scratch. > > Does anyone have any suggestions? Would anyone mind if this port was > committed? > > There are a number of issues. In particular there is no checksum > calculated for install-tl-unx.tar.gz because I suspect that it changes > very often. > > Also the install-tl-xxxxxxxx script doesn't seem to have a capability to > be run in batch mode. I hacked a way around this, but it could be easily > broken if the script were to change in some unexpected way. > > But it does build and install texlive in a fairly timely manner. And the > result can be made into a (large) package using pkg_create. Stephen, TeX Live 2011 builds fine for me with this port. Just a few comments: 1. Biber doesn't need compat7x. It works on 7 and above without it. Moreover, the TeX Live's configure script already takes care of the FreeBSD version in the FreeBSD way. Please take a look: http://www.tug.org/svn/texlive/trunk/Build/source/utils/biber/configure?revision=26215&view=markup lines 3563-3583, or just search for '__FreeBSD_version'. The binaries distributed with the source work on FreeBSD>=701000 and biber will not be installed if older FreeBSD is detected. (I meant that it could be possible to cover FreeBSD-6 with biber binaries distributed over CTAN. But that's not extremely important for now.) 2. fontconfig is a run dependency as well, xetex needs it to run. 3. TeX Live ships with its own portable FreeBSD i386/amd64 xz and wget binaries and install-tl/tlmgr use them. They will not work on FreeBSD<7. Therefore, it could be possible that you need to add xz and wget as build/run dependencies on FreeBSD<7 and on architectures other than i386/amd64, although I haven't checked this. 4. Since the aim of your port is not to create portable binaries, there is no reason not to build xindy. You can freely add '--enable-xindy CLISP=/path to the clisp binary/', and lang/clisp as a build dependency. -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~