From owner-svn-ports-head@FreeBSD.ORG Tue May 14 19:33:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7838E26D for ; Tue, 14 May 2013 19:33:24 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 52F486B1 for ; Tue, 14 May 2013 19:33:24 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id un1so694765pbc.40 for ; Tue, 14 May 2013 12:33:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=KPPIEpyLHf4UeIoeRlvKigkHXXMowf8Ru8M/QFzcV8c=; b=T2PX7R/Mn0pYc90p+FEOZJ46QiR7mDfrkpUM46QSKpwWQASiNPgdHzsW9CxhL7HGB+ h9SEVdL/QHb6E99gxFq12l6JAUQRxgQjQRD9fLkr9Y22mlr44BrzN/LA1vmfAGPvW/CD D060BEypUmODk2JnkqLmwhrNYe4cxklpUHngI48KRl0BIyCjiH5fqYLSS9zZY6f4Cx22 uJqL2sGImwJL9j4g/xtyohk+kCgy4HoDjJjYz0kcRffujgupBT+X3OjuGKznNcHyr0Oj 5IfxRHgdb+HlAtX6kNXI4DV9OzOhiAMr9XxJ4wJw+4gCdB5tR1+v6ubLCmtNyeP/fxOI MpuQ== MIME-Version: 1.0 X-Received: by 10.68.255.36 with SMTP id an4mr35325345pbd.206.1368560004074; Tue, 14 May 2013 12:33:24 -0700 (PDT) Sender: bsd-src@helfman.org Received: by 10.70.78.104 with HTTP; Tue, 14 May 2013 12:33:23 -0700 (PDT) In-Reply-To: <20130514182208.GA47129@mud.stack.nl> References: <201305132020.r4DKKTen074755@svn.freebsd.org> <20130514182208.GA47129@mud.stack.nl> Date: Tue, 14 May 2013 12:33:23 -0700 X-Google-Sender-Auth: 8bkoPuTwYfKE9YGABvPXPk-Hnos Message-ID: Subject: Re: svn commit: r318127 - in head/games/xboard: . files From: Jason Helfman To: Johan van Selst X-Gm-Message-State: ALoCoQm8upfqGJrpCUy6hveYp7JqkqAgZIBqdC2h0I+hh1k00ttOP0kDIFn7Ujrp4SCzVgS2Toho Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , Jason Helfman , "ports-committers@freebsd.org" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2013 19:33:24 -0000 On Tue, May 14, 2013 at 11:22 AM, Johan van Selst wrote: > Jason Helfman wrote: > > > - Add deinstall script to avoid leftovers > > Is there any particular reason this was added in favor of a plist entry? > > Yes, plist entries are executed before PORTDATA cleanups. Since PORTDATA > files are installed below this directory, an @rmdir in plist would fail. > I certainly welcome suggestions for a cleaner solution. > > > Regards, > Johan > I believe adding this to the plist would take care of your needs. @unexec /bin/rmdir %%PREFIX%%/share/games 2>/dev/null || true -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve