Date: Fri, 03 Aug 2007 11:11:18 -0500 From: Paul Schmehl <pauls@utdallas.edu> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: make: cannot open Makefile? Message-ID: <521EC09439F3524B031BB91F@utd59514.utdallas.edu> In-Reply-To: <20070803160657.GA1313@darklight.org.ru> References: <7CBDEA447D8ACF8EF8AA7C37@utd59514.utdallas.edu> <20070803160657.GA1313@darklight.org.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========1288FB790F6C908C847A========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Friday, August 03, 2007 20:06:57 +0400 Yuri Pankov=20 <yuri@darklight.org.ru> wrote: > On Fri, Aug 03, 2007 at 11:00:25AM -0500, Paul Schmehl wrote: >> I'm working on a new port. I cvsup every night, so my ports tree is up >> to date. I'm getting this error, which seems to indicate that the >> ports system is trying to find a Makefile that doesn't exists in = WRKSRC. >> >> make install PREFIX=3D/var/tmp/$(make -V PORTNAME) >> =3D=3D=3D> Extracting for afterglow-1.5 >> =3D> MD5 Checksum OK for afterglow-1.5.tar.gz. >> =3D> SHA256 Checksum OK for afterglow-1.5.tar.gz. >> =3D=3D=3D> afterglow-1.5 depends on file: /usr/local/sbin/pkg_info - = found >> =3D=3D=3D> Patching for afterglow-1.5 >> =3D=3D=3D> Configuring for afterglow-1.5 >> =3D=3D=3D> Installing for afterglow-1.5 >> =3D=3D=3D> afterglow-1.5 depends on executable in : dot - found >> =3D=3D=3D> Generating temporary packing list >> =3D=3D=3D> Checking if security/afterglow already installed >> make: cannot open Makefile. >> *** Error code 2 >> >> Stop in /usr/ports/security/afterglow. >> >> Here's the entire Makefile for the port: >> >> less Makefile >> # New ports collection makefile for: afterglow >> # Date created: 1 Aug 2007 >> # Whom: pauls >> # >> # $FreeBSD$ >> # >> >> PORTNAME=3D afterglow >> PORTVERSION=3D 1.5 >> CATEGORIES=3D security graphics >> MASTER_SITES=3D ${MASTER_SITE_SOURCEFORGE} >> MASTER_SITE_SUBDIR=3D afterglow >> >> MAINTAINER=3D pauls@utdallas.edu >> COMMENT=3D A collection of graph-generating scripts >> >> RUN_DEPENDS=3D dot:${PORTSDIR}/graphics/graphviz >> >> NO_BUILD=3D yes >> >> WRKSRC=3D ${WRKDIR}/${PORTNAME} >> >> post-install: >> ${MKDIR} ${DATADIR} >> ${MKDIR} ${DATADIR}/data >> ${MKDIR} ${DATADIR}/database >> ${MKDIR} ${DATADIR}/graph >> ${MKDIR} ${DATADIR}/parsers >> (cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${DATADIR}/data) >> (cd ${WRKSRC}/src/perl/database/ && ${COPYTREE_SHARE} \* >> ${DATADIR}/database "! -name *.pl") >> (cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_SHARE} \* >> ${DATADIR}/graph "! -name *,pl") >> (cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_SHARE} \* >> ${DATADIR}/parsers "! -name *.pl") >> (cd ${WRKSRC}/src/perl/database/ && ${INSTALL_SCRIPT} \*.pl >> ${DATADIR}/database) >> (cd ${WRKSRC}/src/perl/graph/ && ${INSTALL_SCRIPT} \*.pl >> ${DATADIR}/graph) >> (cd ${WRKSRC}/src/perl/parsers/ && ${INSTALL_SCRIPT} \*.pl >> ${DATADIR}/parsers) >> >> .include <bsd.port.mk> >> >> As you can see, I've included NO_BUILD=3D yes. So what's causing this >> error? >> >> -- >> Paul Schmehl (pauls@utdallas.edu) >> Senior Information Security Analyst >> The University of Texas at Dallas >> http://www.utdallas.edu/ir/security/ > > I guess you need do-install target and not post-install. > You "guess" right. Thanks. --=20 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========1288FB790F6C908C847A==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?521EC09439F3524B031BB91F>