From owner-freebsd-ports@FreeBSD.ORG Fri Nov 27 08:31:31 2009 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 CF484106566C for ; Fri, 27 Nov 2009 08:31:31 +0000 (UTC) (envelope-from tkjacobsen@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 6803D8FC08 for ; Fri, 27 Nov 2009 08:31:30 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so94898fga.13 for ; Fri, 27 Nov 2009 00:31:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=rG2FIQ5/me7/CVRU562GPhbjn3q3cLZILAumUfTPS2A=; b=ssINO/mBIba0UOOC4eBtVUnSj1M4SG6hek0/EKCx31Md05SR3izpClfl+4zUXul9Pi 5AmaLfj4EqqQw0ZYpGFTVQxkoRC0q7Gs0kl9y8ssnmZ68mX+paraW3T06yVNSz20TaF1 JyV8jQqft4/VjOMM6BOHoFAfhu/3vWQYol3Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pQGMLzRRjtReR+PdOuzMzOyPm38Y9WNJsLYfhJ47FybaEC7w1QLKNanqWp94HruJCs 51bIhgZKlrAX2tGAi180ehA5kD248oijlN9gVagQWTdNrW7NlCK14Pc87BBoRe5uL3W+ L5f1fO+0TfZpmFfbZKCIJhvr+Kq2CGOaGCfyg= MIME-Version: 1.0 Received: by 10.239.185.195 with SMTP id d3mr67343hbh.184.1259309278812; Fri, 27 Nov 2009 00:07:58 -0800 (PST) Date: Fri, 27 Nov 2009 09:07:58 +0100 Message-ID: <6a3173850911270007x6cf321boeddfe2377ae5d429@mail.gmail.com> From: Troels Kofoed Jacobsen To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Wrap binary in scrip to set some variables 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: Fri, 27 Nov 2009 08:31:31 -0000 Hi all I'm maintaining a port (graphics/ipe) and the newest version needs a variable set. The way I would solve this is to rename the binary (and move it out of PATH), create a script instead with the original and let the script set the variable. Is this the way to go or should I rather do something else? If yes, how would I do so. Do a 'mv' in the Makefile and put the script in files/? Best Regards Troels Kofoed Jacobsen