From owner-freebsd-ports@FreeBSD.ORG Sun Jan 31 20:04:24 2010 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68D7F106568B for ; Sun, 31 Jan 2010 20:04:24 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id 2032B8FC12 for ; Sun, 31 Jan 2010 20:04:23 +0000 (UTC) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by worf.ds9.tecnik93.com (Postfix) with ESMTPSA id F2F8522C508F; Sun, 31 Jan 2010 22:04:20 +0200 (EET) Date: Sun, 31 Jan 2010 22:04:19 +0200 From: Ion-Mihai Tetcu To: david fries Message-ID: <20100131220419.52d53c65@it.buh.tecnik93.com> In-Reply-To: <1264966073.2975.17.camel@sphinx.doesntexist.org> References: <1264966073.2975.17.camel@sphinx.doesntexist.org> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/qoRc86bwtnbFxBI95RaCYrR"; protocol="application/pgp-signature" Cc: ports@FreeBSD.org Subject: Re: Question about pkg-plist X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2010 20:04:24 -0000 --Sig_/qoRc86bwtnbFxBI95RaCYrR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 31 Jan 2010 20:27:53 +0100 david fries wrote: > Hello everybody >=20 > I'm currently working on a tiny little port. It consists of a single > binary and an accompanying LICENSE file. When I ran genplist, it > generated this in pkg-plist.new: >=20 > bin/mybinary > %%PORTDOCS%%%%DOCSDIR%%/LICENSE > %%PORTDOCS%%@dirrm %%DOCSDIR%% >=20 > Simple enough. However, I also know that the LICENSE file will also be > installed if NOPORTDOCS has been defined. I thought maybe I should > write something like this.=20 >=20 > bin/mybinary > %%DOCSDIR%%/LICENSE > @dirrm %%DOCSDIR%% If you install the LICENCE file depending on NOPORTDOCS, the you should keep the first variant; if not, the second. First is what you should do. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/qoRc86bwtnbFxBI95RaCYrR Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktl4kQACgkQJ7GIuiH/oeWBOACePojy4vWuPHLD7AMcBRdhx809 x8oAnRIk+N33Q66koGO1qmqenXYj2epb =Czdt -----END PGP SIGNATURE----- --Sig_/qoRc86bwtnbFxBI95RaCYrR--