From owner-freebsd-ports Thu Jun 8 7:14:47 2000 Delivered-To: freebsd-ports@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 11CA937BB4E for ; Thu, 8 Jun 2000 07:14:46 -0700 (PDT) (envelope-from stijn@pcwin002.win.tue.nl) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id 117CE18AF; Thu, 8 Jun 2000 16:14:44 +0200 (CEST) Date: Thu, 8 Jun 2000 16:14:44 +0200 From: Stijn Hoop To: freebsd-ports@freebsd.org Subject: NOPORTDOCS variable Message-ID: <20000608161444.D34730@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm trying to make a port (of grdb, a GTK theme matcher for Motif/Athena/Tk apps) and want to install the README along with it (it's the only documentation available). I tried to follow the Porters Handbook suggestion and wrap the installation in a conditional: post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${X11BASE}/share/doc/grdb ${INSTALL_MAN} ${WRKSRC}/README ${X11BASE}/share/doc/grdb .endif However, if I try to make a package this fails because pkg/PLIST does of course contain share/doc/grdb/README... The handbook says I shouldn't worry about it, but this still seems strange to me. What did I miss? --Stijn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message