From owner-svn-ports-head@FreeBSD.ORG Tue May 14 20:10:14 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 57099F92; Tue, 14 May 2013 20:10:14 +0000 (UTC) (envelope-from johans@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id 186AC8ED; Tue, 14 May 2013 20:10:14 +0000 (UTC) Received: by mx1.stack.nl (Postfix, from userid 65534) id 6F5D6359308; Tue, 14 May 2013 22:10:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mailscan01.stack.nl X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, TW_SV autolearn=ham version=3.3.2 X-Spam-Relay-Country: XX X-Spam-DCC: wuwien: mailscan01.stack.nl 1290; Body=1 Fuz1=1 Fuz2=1 Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011::70]) by mx1.stack.nl (Postfix) with ESMTP id 3FF4C3592DC; Tue, 14 May 2013 22:10:11 +0200 (CEST) Received: by mud.stack.nl (Postfix, from userid 801) id 342B39651F; Tue, 14 May 2013 22:10:11 +0200 (CEST) Date: Tue, 14 May 2013 22:10:11 +0200 From: Johan van Selst To: Jason Helfman Subject: Re: svn commit: r318127 - in head/games/xboard: . files Message-ID: <20130514201011.GA50950@mud.stack.nl> References: <201305132020.r4DKKTen074755@svn.freebsd.org> <20130514182208.GA47129@mud.stack.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "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 20:10:14 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. > I believe adding this to the plist would take care of your needs. > @unexec /bin/rmdir %%PREFIX%%/share/games 2>/dev/null || true No, it won't. Such a command will be executed too early when the package is removed. Regards, Johan --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iF4EAREIAAYFAlGSmiIACgkQAEpMHW8nCPQK+gEAsVHkFFR32vud2qt7yae2m0wB n/+MZqWkGPjItU6WtCoBAJ4J4dH2pAqdYShA5TSfG26eg13XM6K6UEHSFb9ls6LL =oa4R -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--