From owner-freebsd-ports@FreeBSD.ORG Tue Dec 4 12:36:21 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 A84A116A468 for ; Tue, 4 Dec 2007 12:36:21 +0000 (UTC) (envelope-from godpost@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 388EB13C4D1 for ; Tue, 4 Dec 2007 12:36:20 +0000 (UTC) (envelope-from godpost@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so101141uge for ; Tue, 04 Dec 2007 04:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:cc:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=87sWcgznxZe4JCA+larBhlEtXXEyCwkws5P1kbnMLpY=; b=CSeMJsxLsZrYi/z1bUBNto+W5OdbAM9jy28oxzShol++hT4oZztWC2Pn8KN+7jX4J1qQCnHELOLBpGIzYRexwa3UNqbpCnpMbY/bt8aPghkrYGLWyEPB0zOnS5340yikNIoM66RSdEhFgDdc/Bz9BeKHb4m4TyqiOkmKt/X8Y1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:cc:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=imhK/URMNXREBVNZWSALG5gCTpWblNH8fWKO7Er1+1y8XzVAYYFmK3r9MTmZsGZPvshjXNMIm/+r/5QTLdlRovOpRNLvrIIriW/0pS/3Oe28RonnoqTNIqcoldKgt5VqIuLPxhreaeAGaC7hBa+spqgHiOQtnUSrA2NCwqEGoBI= Received: by 10.66.219.11 with SMTP id r11mr713355ugg.1196771780000; Tue, 04 Dec 2007 04:36:20 -0800 (PST) Received: from pi ( [212.242.117.72]) by mx.google.com with ESMTPS id i39sm3229020ugd.2007.12.04.04.36.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Dec 2007 04:36:18 -0800 (PST) Message-ID: <000801c83672$46c079d0$6300000a@pi> From: "GP" To: "Jeremy Messenger" References: <002401c8352b$9ba33750$6300000a@pi> <001c01c835f6$8165ab90$6300000a@pi> Date: Tue, 4 Dec 2007 13:36:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 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 12:36:21 -0000 >>>> $(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: >> ===> 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: 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 startup script can not come from the tarball? (I've done some work for including FreeBSD stuff into the original package. So that would be a capitulation to Linux then wouldnt it?: all is writen for Linux and then adapted for FreeBSD :o) >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 thing >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