Date: Thu, 08 Jan 2009 11:38:56 -0500 From: Greg Larkin <glarkin@FreeBSD.org> To: freebsd-ports@freebsd.org, gesbbb@yahoo.com Subject: Re: Creating New Port Message-ID: <49662C20.2050202@FreeBSD.org> In-Reply-To: <20090107134848.17fd38dc@scorpio> References: <20090107134848.17fd38dc@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49662C20.2050202>