From owner-freebsd-ports@FreeBSD.ORG Thu Jun 12 14:26:16 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E77037B401 for ; Thu, 12 Jun 2003 14:26:16 -0700 (PDT) Received: from haggis.it.ca (haggis.it.ca [216.126.86.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id C310C43F85 for ; Thu, 12 Jun 2003 14:26:15 -0700 (PDT) (envelope-from paul@haggis.it.ca) Received: from haggis.it.ca (paul@localhost [127.0.0.1]) by haggis.it.ca (8.12.9/8.12.9) with ESMTP id h5CLPgVD023285; Thu, 12 Jun 2003 17:25:43 -0400 (EDT) (envelope-from paul@haggis.it.ca) Received: (from paul@localhost) by haggis.it.ca (8.12.9/8.12.6/Submit) id h5CLPgOB023282; Thu, 12 Jun 2003 17:25:42 -0400 (EDT) (envelope-from paul) Date: Thu, 12 Jun 2003 17:25:42 -0400 From: Paul Chvostek To: Clement Laforet Message-ID: <20030612212542.GA96458@mail.it.ca> References: <20030612185429.GA17904@mail.it.ca> <20030612212009.46193029.sheepkiller@cultdeadsheep.org> <20030612193622.GA68410@mail.it.ca> <20030612215245.32858fe5.sheepkiller@cultdeadsheep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030612215245.32858fe5.sheepkiller@cultdeadsheep.org> User-Agent: Mutt/1.4.1i cc: ports@freebsd.org Subject: Re: changes to the original source... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 21:26:16 -0000 On Thu, Jun 12, 2003 at 09:52:45PM +0200, Clement Laforet wrote: > > I understand :) you can do this (see below) :) > IMHO, I prefer "checksum'd" docs :) > Obviously, "daily changing" documentations can't be reasonnably > "checksum'ed", but I don't think is a good idea to install them with the > port :) > > DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:0 > MASTER_SITES= http://www.suphp.org/download/:0 > .if !defined(NOPORTDOCS) > DISTFILES+= suphp-fr-doc-0.2.3.tar.gz:1 > MASTER_SITES+= http://www.cultdeadsheep.org/sheepkiller/:1 > .endif I didn't know about the :n suffixes. :-) Only one gotcha with it -- portlint barfs on most of what's there now. The following is FATAL: FATAL: MASTER_SITES appears out-of-order. FATAL: URL "http://hostname/foobar/:0" should end with "/". FATAL: extra item "EXTRACT_ONLY" placed in the MAINTAINER section. FATAL: extra item "MASTER_SITES" placed in the MAINTAINER section. FATAL: extra item "DISTFILES" placed in the MAINTAINER section. It works fine with make -- portlint is failing either because it implements obsolete policies, or imlements proper policies incompletely. Doing things this way also makes the Makefile quite a bit longer. I've set $EXTRACT_ONLY because the HTML file is not compressed. If the portlint errors are safe to ignore, is there a benefit to this method aside from the checksum on the HTML file? -- Paul Chvostek Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/