From owner-freebsd-ports@FreeBSD.ORG Fri Sep 15 06:22:21 2006 Return-Path: X-Original-To: freebsd-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 F2D9A16A407 for ; Fri, 15 Sep 2006 06:22:21 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from chronos.org.uk (chronos.org.uk [82.152.140.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48B5343D46 for ; Fri, 15 Sep 2006 06:22:21 +0000 (GMT) (envelope-from matt@chronos.org.uk) Received: from [2001:618:400:6f4e:204:75ff:fe75:1466] ([IPv6:2001:618:400:6f4e:204:75ff:fe75:1466]) (authenticated bits=0) by chronos.org.uk (8.13.6/8.13.6) with ESMTP id k8F6MGS7071562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Sep 2006 07:22:16 +0100 (BST) (envelope-from matt@chronos.org.uk) From: Matt Dawson To: freebsd-ports@freebsd.org Date: Fri, 15 Sep 2006 07:22:15 +0100 User-Agent: KMail/1.9.4 References: <20060914120055.2F90616A64E@hub.freebsd.org> In-Reply-To: <20060914120055.2F90616A64E@hub.freebsd.org> X-Face: Uq{{&_!oO{M&ydj?-f%{D]bN7/|/]a+utod35[+IyH#R>F~YPffK,=?iso-8859-1?q?=25=60=7D=25=0A?= FTMbmzo,]0X3K:N&{h7],FI{?EkORzB; f:V3"vKXsUNw5Yh`}ef4MZ*a4,=?iso-8859-1?q?ObuJ=5F=26=5B1S=27zP=5CK0wcKZP=0A?= =?iso-8859-1?q?_=60=23L=25=5Dq*OUPQ-4T=3FHZ=7EAKX0=7D3W=25o=3DP?= X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00,NO_RELAYS autolearn=unavailable version=3.1.5 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on central.local.chronos.org.uk X-Virus-Scanned: ClamAV 0.88.4/1884/Thu Sep 14 21:15:20 2006 on central.local.chronos.org.uk X-Virus-Status: Clean Subject: Port Makefiles and the MANPREFIX macro 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: Fri, 15 Sep 2006 06:22:22 -0000 Hi all, Currently doing battle with some port updates and I have come across a strange problem. It's probably my fault, but some guidance would be appreciated. Three of the ports I maintain have decided that the man pages belong in ${PREFIX}/share/man/man(n). Now, reading the Porter's Handbook, it appears this is exactly what the MAN[n]PREFIX macro is for, and sure enough after removing the man page from pkg-plist and telling the Makefile about it, the ports system compresses the resultant man page in its new location. So far so good. However, on deinstall, if appeand two lots of ${PREFIX} when trying to remove the man page. For example, grig installs a man page to /usr/local/share/man/man1/grig.1 (for a ${PREFIX} of /usr/local). The deinstall routine trys to delete grig.1.gz from /usr/local/share//usr/local/share/man/man1, which is just a little crazy. Note the two slashes between the two iterations of the MANPREFIX. Any clues, folks? I'd like to get these updates in before the ports tree is frozen for 6.2 if at all possible. -- Matt Dawson. matt@chronos.org.uk MTD15-RIPE OpenNIC M_D9 MD51-6BONE