From owner-freebsd-ports@FreeBSD.ORG Tue Dec 4 17:14:44 2007 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 16F8E16A418 for ; Tue, 4 Dec 2007 17:14:44 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao103.cox.net (eastrmmtao103.cox.net [68.230.240.9]) by mx1.freebsd.org (Postfix) with ESMTP id B2E1E13C47E for ; Tue, 4 Dec 2007 17:14:42 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao103.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071204171442.EADW15836.eastrmmtao103.cox.net@eastrmimpo02.cox.net>; Tue, 4 Dec 2007 12:14:42 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id LhER1Y00Y4iy4EG0000000; Tue, 04 Dec 2007 12:14:26 -0500 Date: Tue, 04 Dec 2007 11:19:45 -0600 To: GP From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <002401c8352b$9ba33750$6300000a@pi> <001c01c835f6$8165ab90$6300000a@pi> <000801c83672$46c079d0$6300000a@pi> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <000801c83672$46c079d0$6300000a@pi> User-Agent: Opera Mail/9.24 (Linux) Cc: freebsd-ports@freebsd.org Subject: Re: HELP needed by experienced porter for simple review 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: Tue, 04 Dec 2007 17:14:44 -0000 On Tue, 04 Dec 2007 06:36:20 -0600, GP wrote: >>>>> $(MKDIR) $(FILESDIR) >>>>> $(CP) ${WRKSRC}/kissdx.in ${FILESDIR} >>>> >>>> I don't really like to create FILESDIR and move from WRKSRC to = >>>> FILESDIR. The WRKDIR/WRKSRC are the place where you work anything = >>>> inside. However, move from WRKSRC to FILESDIR might create problem = in = >>>> future so avoid that. >>> >>> When I leve it out I get this error: >>> =3D=3D=3D> Installing for kissdx-0.13.10a >>> ** Missing /usr/ports/distfiles/files/kissdx.in for kissdx-0.13.10a.= >>> *** Error code 1 > >> Ummm... I went back to see your first orignal thread. I noticed that = = >> you put Makefile and others in /usr/ports/distfiles/? You should crea= te = >> 'kissdx' and 'kissdx/files' (mkdir -p kissdx/files) directories. You = = >> should make your port looks like this: > > OK its all moved to a handmade subdir. Probably nicer that way, but I = = > still have to make the files dir in the Makefile and put the script in= = > it! or am I missing something? > Maybe I don't understand the files dir!!? could it mean that the start= up = > script can not come from the tarball? (I've done some work for includi= ng = > FreeBSD stuff into the original package. So that would be a capitulati= on = > to Linux then wouldnt it?: all is writen for Linux and then adapted fo= r = > FreeBSD :o) Send me tarball of your update kissdx port and I will taking a peek. Cheers, Mezz >> You should follow this below: >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-= scripts.html >> You put your 'kissdx.in' in kissdx/files/ and it will doing every thi= ng = >> for you as explained in rc-scripts.html. > > I'm sorry to say that i doesn't explain this for me. Porters handbook = = > still requires a lot of implicit knowledge. (But I'm getting there by = = > small increments :O) > > Thanks and BR > > /Simon -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org