From owner-freebsd-ports@FreeBSD.ORG Sat Jul 30 00:11:25 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 A9BA216A41F for ; Sat, 30 Jul 2005 00:11:25 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from mail.stovebolt.com (mail.stovebolt.com [66.221.101.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68D4943D45 for ; Sat, 30 Jul 2005 00:11:25 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.101] (adsl-66-141-177-118.dsl.rcsntx.swbell.net [66.141.177.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.stovebolt.com (Postfix) with ESMTP id 30F763FC39 for ; Fri, 29 Jul 2005 19:11:19 -0500 (CDT) Date: Fri, 29 Jul 2005 19:10:59 -0500 From: Paul Schmehl To: ports@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.0 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Fixing up man pages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 00:11:25 -0000 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. 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? Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/