From owner-freebsd-ports@FreeBSD.ORG Sun Apr 10 19:09:36 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32DE816A4CE for ; Sun, 10 Apr 2005 19:09:36 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id D096843D79 for ; Sun, 10 Apr 2005 19:09:35 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E54345142D; Sun, 10 Apr 2005 12:09:33 -0700 (PDT) Date: Sun, 10 Apr 2005 12:09:33 -0700 From: Kris Kennaway To: Lev Serebryakov Message-ID: <20050410190933.GB69080@xor.obsecurity.org> References: <1456223252.20050410153755@serebryakov.spb.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <1456223252.20050410153755@serebryakov.spb.ru> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org Subject: Re: I need to add some lines into ports PLIST file AFTER all info-related stuff. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 19:09:36 -0000 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 10, 2005 at 03:37:55PM +0400, Lev@mail.telix.ru wrote: > Hello freebsd-ports, >=20 > Ports system automagically add lines for deletion of non-standard prefi= x directory into PLIST file. >=20 > But here are one problem: I need to delete additional directory (${PREF= IX}/mingw32), and I have INFO files in this path! >=20 > So, all info-related stuff goes AFTER last line of `pkg-plist' and even= AFTER `post-install' target. I can not add deleteion of `${PREFIX}/mingw32= ' because it will not be last lines in PLIST in any case! >=20 > How could I alter PLIST after ALL other stuff? >=20 > Nom I'm overwriting `add-plist-post' target (and copy it standard conte= nt too, of course), but it is don't look like good idea. This problem is basically because your port doesn't conform to hier(7). As you can see from add-plist-post, we have support for ports that violate hier(7) by installing into an entirely different PREFIX, but not for ports that do what yours does. The best thing you can do is to make the port hier(7)-compliant, otherwise overriding add-plist-post is about all you can do. Kris --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCWXntWry0BWjoQKURAqWbAJ0exLffsUtmsKQFa0R4CVMiglct1wCguZKx F5mLGQk/8IgHKD61p10wCeo= =oVvO -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O--