Date: Thu, 12 Jun 2003 17:25:42 -0400 From: Paul Chvostek <paul+fbsd@it.ca> To: Clement Laforet <sheepkiller@cultdeadsheep.org> Cc: ports@freebsd.org Subject: Re: changes to the original source... Message-ID: <20030612212542.GA96458@mail.it.ca> In-Reply-To: <20030612215245.32858fe5.sheepkiller@cultdeadsheep.org> References: <20030612185429.GA17904@mail.it.ca> <20030612212009.46193029.sheepkiller@cultdeadsheep.org> <20030612193622.GA68410@mail.it.ca> <20030612215245.32858fe5.sheepkiller@cultdeadsheep.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <paul@it.ca> Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030612212542.GA96458>