From owner-freebsd-ports@FreeBSD.ORG Thu Jun 18 01:34:31 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9691106566B for ; Thu, 18 Jun 2009 01:34:31 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id A8A588FC0A for ; Thu, 18 Jun 2009 01:34:31 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by yw-out-2324.google.com with SMTP id 9so329995ywe.13 for ; Wed, 17 Jun 2009 18:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=BtcR71oce5Is6KvGwq29nELZ9QqNd6YpPX/MnUoOniU=; b=Ac5Ia+0wp62uI4Ef88O2oEH5wBZs9Hj+/bRHc/Edh6DhDrkvYWHcOTX/gIrJJ1XNSY ASfliRDqmbt4bS4g8bDbmwYwC94duuZVVZh/Gs/VUme31HZHjqroppx5Pfso42sTLzn1 uYu9j2yTgjMNbxZKGtpC9EK5p2dv0r/rPxHAo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=r7OmFmqmI20/beB8KrZJamOmcVsVLjU+fGvpGfc4KRIV7ZO+uL5gpTUcs0P82eRQ57 4lt3o/h9/EScrh7mVXPeBjObk9+Sh5RUQmvjBqgfK0fE4ZhhUP7FJZYsqYGaayIQkA4G OHJv+a0nQITJ1HFQGcRL7GkI6ce+m/Shj4BPU= MIME-Version: 1.0 Received: by 10.231.10.136 with SMTP id p8mr309482ibp.14.1245288870754; Wed, 17 Jun 2009 18:34:30 -0700 (PDT) Date: Wed, 17 Jun 2009 18:34:30 -0700 Message-ID: From: "b. f." To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: avoiding build dependency on docbook, etc. in new port 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: Thu, 18 Jun 2009 01:34:32 -0000 Greg Larkin wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Charlie Kester wrote: >> On Wed 17 Jun 2009 at 13:24:32 PDT Greg Larkin wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Charlie Kester wrote: >>>> I'm porting some software that has a build dependency on docbook2man in >>>> order to generate its manpages from .docbook files. >>>> >>>> Testing the port in tinderbox takes a long time, most of it because of >>>> the need to build the docbook infrastructure. It seems a shame to use >>>> all that CPU time and install all those packages just to get ready to >>>> convert some manpages. >>>> What's the preferred approach in cases like this? Should I keep the >>>> build dependency on docbook2man et al, or should I put pregenerated >>>> copies of the manpages in the files directory of the port? If they are too bulky for files/, you could always compress the manpages and add them via something like: .if !defined(NO_INSTALL_MANPAGES) DISTFILES+= thisportsmanpages.tar.gz .endif ... adding the appropriate target to install them, after placing thisportsmanpages.tar.gz on the FreeBSD or project servers. > >To me, that doesn't seem like a lot compared to the 100+ I was dealing >with before. But if it's still too many to deal with, Gabor's >suggestion might be better. As an example of the more economical approach that I think Gabor was suggesting, and which also respects NO_INSTALL_MANPAGES, see how pgj@ handled the manpage for devel/cppcheck (incl. files/patch-Makefile ). b.