From owner-freebsd-ports@FreeBSD.ORG Sun Jan 31 19:54:50 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 E74171065695 for ; Sun, 31 Jan 2010 19:54:50 +0000 (UTC) (envelope-from djf@gmx.ch) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 3D4B68FC19 for ; Sun, 31 Jan 2010 19:54:48 +0000 (UTC) Received: (qmail invoked by alias); 31 Jan 2010 19:27:45 -0000 Received: from adsl-84-226-84-152.adslplus.ch (EHLO [192.168.1.2]) [84.226.84.152] by mail.gmx.net (mp043) with SMTP; 31 Jan 2010 20:27:45 +0100 X-Authenticated: #2052246 X-Provags-ID: V01U2FsdGVkX19SYXYpBA5SjWzp5vgw7pP7R7vgHgct1oCtf9/N/D 00V7AAxvs1ADIi From: david fries To: ports@FreeBSD.org Content-Type: text/plain; charset="UTF-8" Date: Sun, 31 Jan 2010 20:27:53 +0100 Message-ID: <1264966073.2975.17.camel@sphinx.doesntexist.org> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66000000000000003 Cc: Subject: 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 19:54:51 -0000 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