From owner-freebsd-ports@FreeBSD.ORG Mon May 14 17:23:39 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F24E106564A for ; Mon, 14 May 2012 17:23:39 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id D1A8C8FC08 for ; Mon, 14 May 2012 17:23:38 +0000 (UTC) Received: by laai10 with SMTP id i10so3694737laa.13 for ; Mon, 14 May 2012 10:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=rbs99gAL94Mh/NALqu/LZ4v0SKA7quPo+6dwUHwxXW8=; b=NfRs7SFwKEmUYIm2yxJcxMQolxXVayv5ktcmRtgB/koAXBV6+dp9HbK/DJlSwmrfH+ EELlDR/XqX5L/u4cheXkmq0mDdhDwyu+ukH5SZFQvfOr2427O7/yXIXWXn1JQfT9smT+ 8LQetDaPcQXBEzJN+AALEjCnqD01qbLhAtRwfBWD7HJYKKDWjr4Bj8M+veIUKQwBvuY4 73X348FHnUik9/0RzzNT8ZCiuwP7PRI6vB8LOjVAJXdfz4JovlKfs7WMnwPg0LilWYv/ iAl8XwCp29g3veiAJgcjFec3Z8d0uDfJtmrRaoW20NWNxc7T35fGtMoR7OWufjAwACpS vGYQ== MIME-Version: 1.0 Received: by 10.152.112.34 with SMTP id in2mr2021537lab.6.1337016217538; Mon, 14 May 2012 10:23:37 -0700 (PDT) Received: by 10.152.24.131 with HTTP; Mon, 14 May 2012 10:23:37 -0700 (PDT) Date: Mon, 14 May 2012 19:23:37 +0200 Message-ID: From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: On file installation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2012 17:23:39 -0000 Hi, I'm working on a port for an application written in Java and I'm having some problems deciding how to install the application. Previous to the installation, the WRKSRC directory contains some .jar files and some directories along with some .txt files for licenses, but also some .exe and .bat files _which I don't want to install_. It is basically a package that contains both files for windows and non-windows systems. I was thinking on using COPYTREE_SHARE to install everything and then remove the non necessary files, but doesn't look like an elegant solution. Also, I wouldn't like to explicitly specify every one of the files I want to copy. Is there a way of using something similar to bash's extglob so I can copy !(*.exe|*bat)? If not, how to proceed? I already looked at the existent ports to find something similar but it seems hard to find. I also had a look at bsd.port.mk but I couldn't find what I'm looking for. Any help is appreciated, thanks.