Date: Tue, 1 Jan 2002 11:14:33 +0800 From: Ying-Chieh Liao <ijliao@FreeBSD.ORG> To: Glenn Johnson <glennpj@charter.net> Cc: ports@FreeBSD.ORG Subject: Re: PORTDOCS variable in pkg-plist Message-ID: <20020101031433.GA21996@terry.dragon2.net> In-Reply-To: <20011231232230.GA23183@gforce.johnson.home> References: <20011231232230.GA23183@gforce.johnson.home>
next in thread | previous in thread | raw e-mail | index | archive | help
--TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=big5 Content-Disposition: inline On Mon, Dec 31, 2001 at 17:22:30 -0600, Glenn Johnson wrote: > I am working on an upgrade of a port that I maintain and have a question > about the PORTDOCS variable in pkg-plist. > I have some files that get placed into a subdirectory of > /usr/local/share, assuming that /usr/local is the $PREFIX, that are > required for operation of the program. For these files, do I not use > '%%PORTDOCS%%' in pkg-plist? Put another way, is the %%PORTDOCS%% > variable used for the optional documentation files, depending on whether > NOPORTDOCS is defined or not? If u install those files in a ".if !defined(NOPORTDOCS)" and ".endif" clause, u have to put "%%PORTDOCS%%" in ur pkg-plists read bsd.port.mk and search for "PLIST_SUB" for detail :) -- int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\ o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} -- IOCCC 1984 --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8MSmZrMYBZRHAI4IRAsIRAJ9CjyVQJOzJ5hsEq/Ul/0gO13zNnQCgi3ux 5cTLL8JpLKS6i72MpxAnLUA= =y/Xv -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020101031433.GA21996>