From owner-freebsd-ports@FreeBSD.ORG Fri Aug 17 20:03:16 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 8BD7416A468 for ; Fri, 17 Aug 2007 20:03:16 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from agreenftp.no-ip.com (75-137-118-150.dhcp.gnvl.sc.charter.com [75.137.118.150]) by mx1.freebsd.org (Postfix) with ESMTP id 5BAA913C4D5 for ; Fri, 17 Aug 2007 20:03:16 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from localhost (localhost [127.0.0.1]) by agreenftp.no-ip.com (Postfix) with ESMTP id C4C083984D for ; Fri, 17 Aug 2007 16:03:15 -0400 (EDT) X-Virus-Scanned: amavisd-new at agreenftp.no-ip.com Received: from agreenftp.no-ip.com ([127.0.0.1]) by localhost (zeus.agreenftp.no-ip.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5z4bzHSf7zj6 for ; Fri, 17 Aug 2007 16:03:10 -0400 (EDT) Received: from [10.212.3.94] (216.215.144.201.nw.nuvox.net [216.215.144.201]) (Authenticated sender: andy) by agreenftp.no-ip.com (Postfix) with ESMTPA id B6F8239843 for ; Fri, 17 Aug 2007 16:03:10 -0400 (EDT) Message-ID: <46C5FEFB.1090704@gmail.com> Date: Fri, 17 Aug 2007 16:03:07 -0400 From: Andy Greenwood User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <46C5FC86.5050209@gmail.com> In-Reply-To: <46C5FC86.5050209@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: new porter - question about portlint error 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: Fri, 17 Aug 2007 20:03:16 -0000 Andy Greenwood wrote: > Hi everyone. I've been using FreeBSD for about a year now. I wanted to > use this cpan module > (http://search.cpan.org/~miker/Net-DNSBL-MultiDaemon-0.18/MultiDaemon.pm) > but noticed it wasn't in the port collection. I know that it's not > really a big deal to add it manually, but I thought I'd take the > opportunity to learn about the porting process. I've got it to where > it'll build and uninstall, and I think it's even doing so cleanly, but > I tried to run portlint to do some tougher tests and I got this error. > > [root@zeus p5-Net-DNSBL-MultiDaemon]$ portlint -A . > FATAL: breaks INDEX (Bareword found where operator expected at -e line > 1, near "/usr/ports" (Missing operator before ports?) Bareword > found where operator expected at -e line 1, near "/usr/ports" > (Missing operator before ports?) syntax error at -e line 1, near "pm:" > Unmatched right curly bracket at -e line 1, at end of line Execution > of -e aborted due to compilation errors.). > 1 fatal error and 0 warnings found. Argh. I found it. I had the following line in my Makefile $SITE_PERL}/mach/Net/DNS/ToolKit.pm:${PORTSDIR}/dns/p5-Net-DNS-ToolKit I fixed it and it said everything looked fine. > > Can anyone point me in the right direction? Also, I think this should > go in the mail category, but it's basically a multiplexer for dnsbl > lookups, so it could pretty easily go under the dns category as well. > Any pointers on choosing the right place to put it? >