From owner-freebsd-ports@FreeBSD.ORG Thu Jan 8 16:38:35 2009 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 CBF161065672 for ; Thu, 8 Jan 2009 16:38:35 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id A91D18FC0A for ; Thu, 8 Jan 2009 16:38:35 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LKxtx-000GSs-Ag; Thu, 08 Jan 2009 11:38:34 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id C6FB42972823; Thu, 8 Jan 2009 11:38:32 -0500 (EST) Message-ID: <49662C20.2050202@FreeBSD.org> Date: Thu, 08 Jan 2009 11:38:56 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-ports@freebsd.org, gesbbb@yahoo.com References: <20090107134848.17fd38dc@scorpio> In-Reply-To: <20090107134848.17fd38dc@scorpio> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.8 (-) Cc: Subject: Re: Creating New Port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2009 16:38:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jerry wrote: > I am attempting to create my first port. I seem to have run into a > problem thought. > > I want to create a port for a Perl module, > 'Captcha-reCAPTCHA-Mailhide'. I created the test port > in /usr/ports/local/p5-Captcha-reCAPTCHA-Mailhide. The port builds OK. > The problem is when I try to create the pkg-plist. I followed (I think) > the instructions in the "Porter's Handbook". Specifically this portion: > > # mkdir /var/tmp/$(make -V PORTNAME) > > When I run the line of above, this is what I get back: > > mkdir /var/tmp/$(make -V Captcha-reCAPTCHA-Mailhide) > mkdir: /var/tmp/: File exists > > It never creates the desired directory. I have tried including the > version number in the above; however, that doesn't work either. Since > this is my first port, I am confused as to what I am doing wrong. > > I can supply the 'Makefile' if it is needed. > > Thanks! > Hi Jerry, I see that some other folks have responded to your original question, and I hope that everything is working now. I thought I would jump in and suggest that you try out the ports-mgmt/genplist utility (http://www.freshports.org/ports-mgmt/genplist/) as a way to create your pkg-plist file. In many cases, genplist creates a pkg-plist that's at least 80% complete and requires some additional tweaking by hand. In some cases, the percentage will be higher, particularly with p5- ports. Best of luck, and thank you for contributing! Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJZiwg0sRouByUApARAsfjAKDDFWRinE98Ra6v9VMgOef1B2rwGACggbnm yGcAnjojGUxnc0iDxOuLCss= =Zesr -----END PGP SIGNATURE-----