From owner-freebsd-ports@FreeBSD.ORG Sat Apr 18 20:21:35 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A805A106564A for ; Sat, 18 Apr 2009 20:21:35 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 6558C8FC0C for ; Sat, 18 Apr 2009 20:21:35 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [88.130.194.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id A294A8A0113; Sat, 18 Apr 2009 22:21:33 +0200 (CEST) Message-ID: <49EA3645.8060604@bsdforen.de> Date: Sat, 18 Apr 2009 22:21:25 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.21 (X11/20090408) MIME-Version: 1.0 To: gesbbb@yahoo.com References: <20090417180801.74461803@scorpio> In-Reply-To: <20090417180801.74461803@scorpio> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Unable to get MAN pages installed 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, 18 Apr 2009 20:21:35 -0000 Jerry wrote: > I am in the process of creating a new port. I cannot seem to get the > 'man' file installed correctly; however. This is the error message at > the end of the install process. The file 'scamp.1' exists in the $WRKSRC > directory when I extract the distro. > > ===> Compressing manual pages for scamp-5.2a > gzip: can't stat: /usr/local/man/man1/scamp.1: No such file or directory > ===> Registering installation for scamp-5.2a > > This is the Makefile for the port. It will probably wrap incorrectly! > > # New ports collection makefile for: scamp > # Date created: 31 March 2009 > # Whom: Gerard Seibert > # > # $FreeBSD$ > > PORTNAME= scamp > PORTVERSION= 5.2a > CATEGORIES= security > MASTER_SITES= http://site1/ ${MASTER_SITE_SOURCEFORGE:S/$/:sourceforge,TEST/} > DISTFILES= scamp/scamp-5.2a.tar.gz:sourceforge > > MAINTAINER= gerard@seibercom.net > COMMENT= Download & Install additional definition files for Clamav > > .include > > .if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl) > RUN_DEPENDS+= wget>=1.11.4:${PORTSDIR}/ftp/wget \ > bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \ > clamav>=0.95:${PORTSDIR}/security/clamav \ > gnupg>=2.0.11:${PORTSDIR}/security/gnupg \ > rsync>=3.0.5:${PORTSDIR}/net/rsync > .else > RUN_DEPENDS+= curl>=7.19.2:${PORTSDIR}/ftp/curl \ > bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \ > clamav>=0.95:${PORTSDIR}/security/clamav \ > gnupg>=2.0.11:${PORTSDIR}/security/gnupg \ > rsync>=3.0.5:${PORTSDIR}/net/rsync > .endif > > NO_BUILD= yes > > SUB_FILES= pkg-message > > MAN1= scamp.1 > MANCOMPRESS= no > > post-patch: > @${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-"/var/db/clamav"}|g' ${WRKSRC}/${PORTNAME}.sh > @${REINPLACE_CMD} -e 's|CONFIG_DIR="/etc/scamp"|CONFIG_DIR="/usr/local/etc/scamp"|g' ${WRKSRC}/${PORTNAME}.sh > > post-install: > @${INSTALL_DATA} ${FILESDIR}/scamp.conf.sample ${PREFIX}/etc/ > @if [ ! -f ${PREFIX}/etc/scamp.conf ]; then \ > ${CP} -p ${PREFIX}/etc/scamp.conf.sample \ > ${PREFIX}/etc/scamp.conf ; \ > fi > > do-install: > cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME}.sh ${PREFIX}/bin > > .ifndef(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} > cd ${WRKSRC} && ${INSTALL_DATA} README CHANGE.LOG INSTALL Release.html ${DOCSDIR} > .endif > > ${CAT} ${PKGMESSAGE} > > .include > > > Obviously, I am doing something wrong; I just cannot find it. A scan > with 'portlint -A' did not turn up a single error on the port. > > I assume I am giving it the wrong PATH; however, I do not know how > to correct it. > > You shouldn't use MANCOMPRESS. Just remove that line. Depending on whether your port installs compressed man-pagers or not you should set MANCOMPRESSED to yes or no.