From owner-freebsd-ports Thu Aug 12 1:12:31 1999 Delivered-To: freebsd-ports@freebsd.org Received: from dfw-ix3.ix.netcom.com (dfw-ix3.ix.netcom.com [206.214.98.3]) by hub.freebsd.org (Postfix) with ESMTP id DF4D414E62 for ; Thu, 12 Aug 1999 01:12:28 -0700 (PDT) (envelope-from asami@stampede.cs.berkeley.edu) Received: (from smap@localhost) by dfw-ix3.ix.netcom.com (8.8.4/8.8.4) id DAA23618; Thu, 12 Aug 1999 03:12:20 -0500 (CDT) Received: from sji-ca44-42.ix.netcom.com(209.111.212.170) by dfw-ix3.ix.netcom.com via smap (V1.3) id rma023532; Thu Aug 12 03:11:54 1999 Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id BAA95829; Thu, 12 Aug 1999 01:11:40 -0700 (PDT) To: Will Andrews Cc: ports@FreeBSD.ORG Subject: Re: bsd.port.mk deficiency? From: Satoshi Asami Date: 12 Aug 1999 01:11:40 -0700 In-Reply-To: Will Andrews's message of "Wed, 11 Aug 1999 23:14:05 -0400 (EDT)" Message-ID: Lines: 20 X-Mailer: Gnus v5.7/Emacs 20.4 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Will Andrews * If the distfile contains no tarball, the porter can define NO_TAR to mean the * file to which the uncompressed distfile should be redirected. * EXTRACT_AFTER_ARGS in particular would be redefined as: "> ${NO_TAR}". * * For example, if my port's distfile goes by the name abc-1.24.bz2, I would set * * NO_TAR= abc-1.24 * * The result: bsd.port.mk redefines EXTRACT_AFTER_ARGS as above, makes the * ${WRKSRC} to equal ${WRKDIR}/${DISTNAME} (i.e., makes that dir in addition to * the ${WRKDIR}.), and extracts the file to ${WRKSRC}/${NO_TAR}. I think this is overkill. Just define DISTFILES and USE_BZIP as usual and set EXTRACT_AFTER_ARGS to "> [whatever]" by yourself. bsd.port.mk is getting complicated enough at it is. ;) -PW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message