From owner-freebsd-ports Wed Sep 11 22:10:55 2002 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 44C2337B401 for ; Wed, 11 Sep 2002 22:10:53 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8146B43E3B for ; Wed, 11 Sep 2002 22:10:51 -0700 (PDT) (envelope-from mva121@gmx.net) Received: (qmail 9240 invoked by uid 0); 12 Sep 2002 05:10:49 -0000 Received: from p508619e8.dip.t-dialin.net (HELO mainframe.sysfault.org) (80.134.25.232) by mail.gmx.net (mp003-rz3) with SMTP; 12 Sep 2002 05:10:49 -0000 Date: Thu, 12 Sep 2002 07:13:54 +0200 From: Marcus vA To: freebsd-ports@freebsd.org Subject: creation of a dynamic pkg-plist Message-Id: <20020912071354.23986b26.mva121@gmx.net> Reply-To: mva121@gmx.net Organization: none X-Mailer: Sylpheed version 0.8.2 (GTK+ 1.2.10; i386-portbld-freebsd4.6.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.Do60P?mnHvGW(v" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.Do60P?mnHvGW(v Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, I hope, I've got the right list for this. I would like to know how I can create a kind of dynamic pkg-plist, which depends on some values the user will give to the make target. So I have a Makefile which will have a value (WITH_SOUND). Depending on this, a tar-ball with sound snippets should be fetched (or not) and installed. How can I achieve, that those snippets are deinstalled correctly if he will later uninstall this port? Can I make a patch-target, which for example will move the original pkg-plist to pkg-plist_tmp, adds the necessary files to pkg-plist and, if the user uninstalls the port, moves pkg-plist_tmp back to pkg-plist? Or is there another guideline which prohibits this? I also saw (especially for perl-stuff) %%FOOBAR%% values. Maybe kind of those can be used, but how I have to specify this then? Thanks in advance Marcus PS: I'm not reading this list permanently, so please set me on the cc. --- Mr. Cole's Axiom: The sum of the intelligence on the planet is a constant; the population is growing. --=.Do60P?mnHvGW(v Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9gCKYNUp2URAoJlERAp4mAKDVEtl3V/OflfgnGpirLq1Lwjq6DwCgx2cq zpx6oOGHLTJsQ1KUUQzC3sY= =qBpm -----END PGP SIGNATURE----- --=.Do60P?mnHvGW(v-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message