From owner-freebsd-ports@freebsd.org Thu Feb 25 08:41:41 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B95EAAB366E for ; Thu, 25 Feb 2016 08:41:41 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from toco-domains.de (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8591D69D for ; Thu, 25 Feb 2016 08:41:41 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from [192.168.0.143] (port-212-202-156-99.static.qsc.de [212.202.156.99]) by toco-domains.de (Postfix) with ESMTPA id EDBD61B22067; Thu, 25 Feb 2016 09:41:38 +0100 (CET) Subject: Re: automation of perl port creation from cpan To: Chris H , freebsd-ports@freebsd.org References: <1456310441.2840611.530361410.300FD5FB@webmail.messagingengine.com> <5B6EA9F9-AD60-4D59-9DD1-FD1C833F429A@waschbuesch.de> <20160224141348.GF26283@home.opsec.eu> <6c65d383425d9720eae1dc5e3368a0bf@ultimatedns.net> From: =?UTF-8?Q?Torsten_Z=c3=bchlsdorff?= Message-ID: <56CEB336.8020208@toco-domains.de> Date: Thu, 25 Feb 2016 08:54:30 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <6c65d383425d9720eae1dc5e3368a0bf@ultimatedns.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 08:41:41 -0000 Hello, On 24.02.2016 17:38, Chris H wrote: > On Wed, 24 Feb 2016 15:13:48 +0100 Kurt Jaeger wrote >>>> I have a perl app that I'd like to move to FreeBSD. It currently has a >>>> whole list of cpan dependencies. Is there any partial automation of >>>> generating ports from CPAN directly? Something similar to py-pytoport >>>> for example. >>> >>> You could have a look at App::Pm2Port >>> (https://metacpan.org/pod/App::Pm2Port) >> >> Last change: January 2010, so it's probably not modern enough for the >> newer infrastructure ? > Good point. I wonder if a shell script might not be a better > approach to accomplish the desired goal; it'd be easier to > keep up to date with the evolving ports framework, and wouldn't > require any additional [external] dependencies. Is there anything > in under Mk/ that might be added to, or used as a starting point? Just as side-note: Michael Fausten and myself currently working at an application which creates, tests and submits port-updates automatically. We aim to start with Rubygems and CPan. If you start working at creation of such a port, let us know. Maybe there is some synergy :) Greetings, Torsten