Date: Sun, 31 Jan 2010 20:27:53 +0100 From: david fries <djf@gmx.ch> To: ports@FreeBSD.org Subject: Question about pkg-plist Message-ID: <1264966073.2975.17.camel@sphinx.doesntexist.org>
next in thread | raw e-mail | index | archive | help
Hello everybody 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: bin/mybinary %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%@dirrm %%DOCSDIR%% 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. bin/mybinary %%DOCSDIR%%/LICENSE @dirrm %%DOCSDIR%% Otherwise I might forget to remove LICENSE if the port was built with NOPORTDOCS defined. Am I correct about this? Or is the build system smart enough to work with the auto generated plist? BTW what the simplest way to do genplist create with NOPORTDOCS defined? Do I have to put it in the environment before running genplist create? regards, dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1264966073.2975.17.camel>