From owner-freebsd-ports@FreeBSD.ORG Wed Oct 30 17:36:18 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 208D4A28 for ; Wed, 30 Oct 2013 17:36:18 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A0C5F24E7 for ; Wed, 30 Oct 2013 17:36:17 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id eo20so1401412lab.12 for ; Wed, 30 Oct 2013 10:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=T+VZdI7rvkMozuLKFMPXOIw9xzIPQah5pad0BkGuilo=; b=MYLhx7TSlD9SHSaoHyuaZFzBwXmeTvhQnzeQBid4ffbaQ9L0dFXLIWBr8NLRg7Ti5l hYtiZ+RxAHAdS+jp8H5DAq9ARF1bg+yanjrHhI5AXqe8zugO0j/typBsWdyJU1yGlfuV y3ff59CmWpG6W43dIQCW8IOBcT9HCDjaORv95Ov6T6eIS7MR1QG8kiQ4B8EXAef7Wnge ZKh2o+XjuXMYDDdOgUnlcLRAZuajpKMYMShgryXud8dJsErrpjBPAdpoKQVLjdyNgR3Q mBQEAUpoX6EvAelarsYD06yZ2XTKyl2Ar94dc2DwHwrcl/kB1F4mkax+io6Ad5nLV+78 F9Lw== MIME-Version: 1.0 X-Received: by 10.152.88.74 with SMTP id be10mr4061174lab.4.1383154575594; Wed, 30 Oct 2013 10:36:15 -0700 (PDT) Received: by 10.112.3.138 with HTTP; Wed, 30 Oct 2013 10:36:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 30 Oct 2013 18:36:15 +0100 Message-ID: Subject: Re: updating my first port From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Alex Laurie Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 17:36:18 -0000 On Wed, Oct 30, 2013 at 5:56 PM, Alex Laurie wrote: > Hi all, > > I'm updating a port for the first time. I've made the changes and done all > the tests and it works fine. I'm using the SVN option in the handbook and > I've updated the files and got > > root@test:/usr/local/ports_update/taskjuggler # svn status > M Makefile > M distinfo > > I'm trying to create a diff as per the last part but I'm not quite sure > what they mean by basename > > The last step is to make a unified > diff(1) of > the files against SVN: > % *svn diff > ../`basename ${PWD}`.diff* > ${PWD} contains the directory you are working on, for instance ~/my_ports/my_thirdparty_application. basename ${PWD} strips everything from that path up to (and including) the slash, this is, it gives you "my_thirdparty_application" (without the quotes). The whole command is just to create a diff of your files against the repo and calling the diff file with the same name as the directory you are in. Notice that it adds the .diff to the file name. HTH > > > Any pointers? > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >