Date: Fri, 15 Jul 2005 16:28:27 -0500 From: Paul Schmehl <pauls@utdallas.edu> To: ports@freebsd.org Subject: New port problems Message-ID: <E792C03474FB520A8C0A3D66@utd59514.utdallas.edu>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> 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 <bsd.port.post.mk> Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E792C03474FB520A8C0A3D66>