From nobody Mon May 16 06:55:43 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AB4B81AE96FB for ; Mon, 16 May 2022 06:55:46 +0000 (UTC) (envelope-from pat@patmaddox.com) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1qlP4vZjz3D3v for ; Mon, 16 May 2022 06:55:45 +0000 (UTC) (envelope-from pat@patmaddox.com) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 566635C0156; Mon, 16 May 2022 02:55:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 16 May 2022 02:55:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patmaddox.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1652684145; x= 1652770545; bh=TySZj+NBdhK2UH/BK8O9edBJXTqYsEDQiuC8RHerQSY=; b=H PXu+O93gyHd1oEFB+GbadEKhgxq6wXzsrLFuE6lJ6ZaOsgZ+ETYTn58mGYcBWaMq txiD6q7mgRHN5ghZHmKT+KHqA/7FZq5Suh89M4UWM3mlI62aNPzNsDHtvn4Kl4o/ fo252iYkQEKhbHQsjQ+cdfbxd0Ru6C31uDJll3estNqpWhrNfWx5VHgdXigYf2Qc zbHD1HI+GEcFZ0vedun/9ZQf/ZYBv7bTkDyfG1XYP82PMKloYKaSmSpovC29ocxk WeEaSeMZKoXejtlBoxbGDHrUDXWeWLwxHIKu/mWHLUCIWDF/HOC2w5REnzgopY+m 73WYtmrFIe5C2NPEcBdfA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1652684145; x=1652770545; bh=TySZj+NBdhK2U H/BK8O9edBJXTqYsEDQiuC8RHerQSY=; b=o4qeL6K0TzCFiKNn1K4b3KJU27Ufw ouuSdLHgXlW9vAMPlT5W0wfrEx9aQt1kBlR3rVXPgUksd4QyEQSqqCyhcGflkq+Y G1ZtvQFwPFhQJrXHfnC9g0PCvhaB7tSWaX0aGa30AJ/kGX2dhhFi7dYx9FqQCJXe FHavfmdKNlV/IBQSekh4mAdwWdhmH5/tyKp2fgbfwlI6gtBtNyJ+yNHbMvsqeFs7 tOyIloyQcrCCxeuoLHLK6w4M8nr4PnSHInNPKcsgwfpxzH07CXby/nJFOeCHgp2f HNl9XNvgEVGZgOBZ7CRCQsKrJMEzoio0KTEdyix1IwLdES4zxre0pFU0A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrheeggdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffokfgjfhggtgfgsehtkehmtdertdejnecuhfhrohhmpedfrfgr thcuofgrugguohigfdcuoehprghtsehprghtmhgrugguohigrdgtohhmqeenucggtffrrg htthgvrhhnpeefteefvefhvdejkeejjeeuuefhheeifeffheeihfefudefffekvedvgfeh uedtffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hprghtsehprghtmhgrugguohigrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 May 2022 02:55:44 -0400 (EDT) From: "Pat Maddox" To: "Tatsuki Makino" Cc: freebsd-ports@freebsd.org Subject: Re: How to override port Makefile to point to local directory? Date: Sun, 15 May 2022 23:55:43 -0700 X-Mailer: MailMate (1.13.2r5673) Message-ID: <0037487A-4778-4D37-9A12-BBE0E58F9CB4@patmaddox.com> In-Reply-To: References: <24d0482cd89dd98aa75fc9c89aa00201@bsdforge.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4L1qlP4vZjz3D3v X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=patmaddox.com header.s=fm3 header.b="H PXu+O9"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=o4qeL6K0; dmarc=none; spf=pass (mx1.freebsd.org: domain of pat@patmaddox.com designates 66.111.4.27 as permitted sender) smtp.mailfrom=pat@patmaddox.com X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[patmaddox.com:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[patmaddox.com:s=fm3,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[pat]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[patmaddox.com]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports] X-ThisMailContainsUnwantedMimeParts: N On 15 May 2022, at 23:25, Tatsuki Makino wrote: > Hello. > > Pat Maddox wrote on 2022/05/16 15:08: >> I figure there’s gotta be some sort of `make SRCDIR=. install` to >> bypass fetch & extract, but this will do for now. >> > > Is it a variable DISTDIR or PACKAGES? > > If you write the following in /etc/make.conf, you can use a different > location only for certain port. > > .if !empty(.CURDIR:tA:M/home/you/DEV//port-im-developing) > DISTDIR= /home/you/dir_for_src > PACKAGES= /home/you/dir_for_put_pkg > WRKDIRPREFIX= /tmp/wrkdir > .endif > > Regards. That still downloads the zip file, but to a different directory. The code for my application is in ~/dev/ports-mgmt/disport. So instead of make trying to download a zip and extract it, I want to tell it to get the code from ~/dev/ports-mgmt/disport. Pat