From owner-freebsd-ports@FreeBSD.ORG Tue Dec 4 03:00:34 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 91A7B16A418 for ; Tue, 4 Dec 2007 03:00:34 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao102.cox.net (eastrmmtao102.cox.net [68.230.240.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3C72D13C46A for ; Tue, 4 Dec 2007 03:00:34 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071204030034.FFXR16464.eastrmmtao102.cox.net@eastrmimpo01.cox.net>; Mon, 3 Dec 2007 22:00:34 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id LSzz1Y0094iy4EG0000000; Mon, 03 Dec 2007 21:59:59 -0500 Date: Mon, 03 Dec 2007 21:05:33 -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> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <001c01c835f6$8165ab90$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 03:00:34 -0000 On Mon, 03 Dec 2007 15:50:21 -0600, GP wrote: > Thanks a lot! > > I have as you sugested, but have a problems: > >>> $(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 create = 'kissdx' and 'kissdx/files' (mkdir -p kissdx/files) directories. You = should make your port looks like this: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D kissdx/ kissdx/Makefile kissdx/distinfo kissdx/pkg-descr kissdx/pkg-message kissdx/files/ kissdx/files/kissdx.in kissdx/files/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D You should follow this below: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scr= ipts.html You put your 'kissdx.in' in kissdx/files/ and it will doing every thing = = for you as explained in rc-scripts.html. >> I think that's all for now. Most of answers are in the porter handboo= k. > > You are probably right. I read it first of cause. But its not very eas= y = > to understand, if you havent worked with porting before. > (The are almost no examples in it.) That's ok, you can check in other ports to get good examples. One more = that I have noticed. The 'do-install: all' should be change to = 'do-install:' without have 'all' in it. Hope it helps. Cheers, Mezz > 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