From owner-freebsd-ports Tue Feb 24 15:05:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29555 for freebsd-ports-outgoing; Tue, 24 Feb 1998 15:05:55 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from ppp1564.on.bellglobal.com (ppp1564.on.bellglobal.com [206.172.249.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29544 for ; Tue, 24 Feb 1998 15:05:50 -0800 (PST) (envelope-from ac199@hwcn.org) Received: from localhost (tim@localhost) by ppp1564.on.bellglobal.com (8.8.8/8.8.8) with SMTP id SAA01016; Tue, 24 Feb 1998 18:03:54 -0500 (EST) (envelope-from ac199@hwcn.org) X-Authentication-Warning: ppp1564.on.bellglobal.com: tim owned process doing -bs Date: Tue, 24 Feb 1998 18:03:53 -0500 (EST) From: Tim Vanderhoek X-Sender: tim@localhost Reply-To: ac199@hwcn.org To: Bill Fenner cc: freebsd-ports@hub.freebsd.org Subject: Re: ports/5832: catdoc is broken (easy fix) In-Reply-To: <199802240650.WAA17413@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 23 Feb 1998, Bill Fenner wrote: > This is an old vs. new fetch issue; new fetch fetches a file with just > "catdoc/". Perhaps the makefile needs a post-extract target: The submitter's original port fetched each file individually. I thought I'd be tricky and avoid needing another DIST_SUBDIR. Perhaps it should just be changed to fetch each file individually, again. I have the submitter's original on hand, still. This would probably let the port use MASTER_SITE=tex-ctan. (However, I do _not_ have time to do anything until at least the weekend --- just make the port work and close the bugreport :). > post-extract: > @if [ -d ${WRKDIR}/pub/tex/ctan/support/catdoc ]; then \ > mv ${WRKDIR}/pub/tex/ctan/support/catdoc ${WRKDIR}; \ > rm -rf ${WRKDIR}/pub; \ > fi But that looks good, too. The original introduced a do-extract, which is more evil than a post-extract. -- tIM...HOEk OPTIMIZATION: the process of using many one-letter variables names hoping that the resultant code will run faster. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message