From owner-freebsd-ports@FreeBSD.ORG Fri Jul 15 21:28:27 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 BB99116A41C for ; Fri, 15 Jul 2005 21:28:27 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8234943D45 for ; Fri, 15 Jul 2005 21:28:27 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 24B20388F7A for ; Fri, 15 Jul 2005 16:28:27 -0500 (CDT) Date: Fri, 15 Jul 2005 16:28:27 -0500 From: Paul Schmehl To: ports@freebsd.org Message-ID: X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: New port problems 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 Jul 2005 21:28:27 -0000 I'm working on a new port. This port needs to grab a tar.gz file, unzip it and then copy two files to the right directories (one to /usr/local/bin, the other to /usr/local/etc) and put the docs in the right dir. So, I'm using NO_BUILD= yes But, when I try to install the port, I get the error "make: cannot open Makefile. *** Error code 2". Obviously, the port is still trying to compile from source, even though I've used NO_BUILD. Is there a trick I'm missing? Is there a specific order that NO_BUILD needs to appear in, in the Makefile? Here's the entire Makefile, if that helps. (The LIB_DEPENDS line is commented out because, right now, the tclX port doesn't build, so I have to test without it for now): # New ports collection makefile for: sguil-client # Date created: 13 Jul 2005 # Whom: pauls # # $FreeBSD$ # PORTNAME= sguil-client PORTVERSION= 0.5.3 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= sguil MAINTAINER= pauls@utdallas.edu COMMENT= A client for viewing events in Sguil RUN_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib \ ${LOCALBASE}/lib/iwidgets2.2.0:${PORTSDIR}/x11-toolkits/iwidgets #LIB_DEPENDS= tclx83:${PORTSDIR}/lang/tclX NO_BUILD= yes WRKSRC= ${WRKDIR}/sguil-${PORTVERSION} PORTDOCS= doc/CHANGES doc/INSTALL doc/INSTALL.openbsd doc/LICENSE.QPL \ doc/OPENSSL.README doc/TODO doc/USAGE doc/sguildb.dia #INSTALL_WRKSRC= ${WRKSRC}/ \ # ${WRKSRC}/client \ # ${WRKSRC}/client/lib \ # ${WRKSRC}/doc .include post-install: ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/client/sguil.tk ${PREFIX}/bin/sguil.tk .for f in lib/*.tcl lib/nessusheader.html ${INSTALL_DATA} ${WRKSRC}/lib/${f} ${PREFIX}/lib/${f} .endfor .for f in client/sguil.conf ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}-sample [ -f ${PREFIX}/etc/${f} ] || \ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f} .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} .include Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/