From owner-freebsd-ports@FreeBSD.ORG Sat Jul 30 09:26:09 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22E0C16A41F for ; Sat, 30 Jul 2005 09:26:09 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: from isis.sigpipe.cz (fw.sigpipe.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id A768843D46 for ; Sat, 30 Jul 2005 09:26:07 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: by isis.sigpipe.cz (Postfix, from userid 1001) id E3F431F87BEF; Sat, 30 Jul 2005 11:26:05 +0200 (CEST) Date: Sat, 30 Jul 2005 11:26:05 +0200 From: Roman Neuhauser To: Paul Schmehl Message-ID: <20050730092605.GB79432@isis.sigpipe.cz> Mail-Followup-To: Paul Schmehl , ports@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Cc: ports@freebsd.org Subject: Re: Fixing up man pages 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: Sat, 30 Jul 2005 09:26:09 -0000 # pauls@utdallas.edu / 2005-07-29 19:10:59 -0500: > I'm working on updating the x11-toolkits/iwidgets port, and I've run into a > problem. The man pages install fine, but they aren't formatted correctly. What does "formatted correctly" mean? Can you paste the output, and what you want it to look like instead? > In the Makefile for the source, there is a section that deals with the man > pages like this: > > @cd $(TOP_DIR)/doc; for i in *.n; \ > do \ > rm -f $(MAN_INSTALL_DIR)/`basename $$i`; \ > rm -f $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ > sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \ > $$i > $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ > chmod 444 $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ > done; > > How can I incorporate this into the port Makefile so that the man pages > will be properly formatted? The only "formatting" this does is replace the first occurrence of "man.macros" on any line with the contents of $(TOP_DIR)/doc/man.macros. Is that's what you mean? -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991