From owner-freebsd-ports@freebsd.org Mon Mar 6 11:25:46 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5D95CFBADE for ; Mon, 6 Mar 2017 11:25:46 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp208.alice.it (smtp208.alice.it [82.57.200.104]) by mx1.freebsd.org (Postfix) with ESMTP id 6F4EC1A8E for ; Mon, 6 Mar 2017 11:25:46 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (82.52.25.226) by smtp208.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 588F429306E7E1A4 for freebsd-ports@freebsd.org; Mon, 6 Mar 2017 12:25:37 +0100 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id v26BPGOu094392 for ; Mon, 6 Mar 2017 12:25:16 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu To: freebsd-ports@freebsd.org From: Andrea Venturoli Subject: Writing a port that simply installs a bunch of files Message-ID: <66d50818-f00e-9033-4c93-f159c38d04ba@netfence.it> Date: Mon, 6 Mar 2017 12:25:16 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 11:25:46 -0000 Hello. I'm trying to create a small ports for internal use. The simplest of these should just place a bunch of files into ${LOCALBASE}, so I thought I could create a tar archive containing those files, with the correct permissions, let "extract" do its work, then have the following: > do-install: > (cd ${WRKSRC} && ${CP} -pR . ${STAGEDIR}${PREFIX}) Alas the "extract-fixup-modes" target will ruins all this. Is there a way to achieve what I'm trying to achieve? Better yet, could I just somehow place my content under "files" and do without a distfile? bye & Thanks av.