From owner-freebsd-ports Wed Oct 4 4: 9:16 2000 Delivered-To: freebsd-ports@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 61A7A37B66D for ; Wed, 4 Oct 2000 04:09:13 -0700 (PDT) Received: from FreeBSD.org (baby.int.thehousleys.net [192.168.0.24]) by thehousleys.net (8.11.0/8.11.0) with ESMTP id e94B8xq03315; Wed, 4 Oct 2000 07:09:05 -0400 (EDT) (envelope-from jeh@FreeBSD.org) Message-ID: <39DB0FCB.6421C6B8@FreeBSD.org> Date: Wed, 04 Oct 2000 07:08:59 -0400 From: "James E. Housley" Organization: FreeBSD X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: jamie@jamiesdomain.org.uk Cc: ports@FreeBSD.org Subject: Re: Ports query/help References: <200010041104.e94B4b410893@atlas.snet.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jamie wrote: > > Hi people, > > Having a bit of a problem. > > Bit of a newbie to porting, managed to submit > a new one OK but updating seems to be a prob. > > Have read the porters handbook but alas, no joy. > > Heres my Makefile: > > # New ports collection Makefile for: cd2mp3 > # Date created: 4 January 2000 > # Whom: Jamie Heckford > # > # $FreeBSD: ports/audio/cd2mp3/Makefile,v 1.1 2000/06/02 06:46:47 will Exp $ > # > > PORTNAME= cd2mp3 > PORTVERSION= 0.5 > PORTEPOCH= 1 > CATEGORIES= audio > MASTER_SITES= http://download.cd2mp3.org.uk/${PORTVERSION}/ > > MAINTAINER= jamie@jamiesdomain.org.uk > > RUN_DEPENDS= bladeenc:${PORTSDIR}/audio/bladeenc/ \ > dagrab:${PORTSDIR}/audio/dagrab/ > > NO_BUILD= yes > WRKSRC= ${WRKDIR}/cd2mp3 > > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/cd2mp3 ${PREFIX}/bin/cd2mp3 > > .include > > This looks fine to me but: > > jamie@element$ portlint > OK: checking /usr/ports/cd2mp3/pkg/COMMENT. > OK: checking /usr/ports/cd2mp3/pkg/DESCR. > OK: checking Makefile. > FATAL: extra item "PORTEPOCH" placed in the PORTNAME section. > OK: checking /usr/ports/cd2mp3/files/md5. > 1 fatal errors and 0 warnings found. > > Have tried alot of different ways of adding PORTEPOCH but no luck! portlint does not handle PORTEPOCH yet. There are two option 1) Ignore the error 2) move it down with WRKSRC. #2 makes the Makefile hard to read and find the final version number. Jim -- James E. Housley Hi! I'm a .signature virus! Copy me in your ~/.signature to help me spread! <- Save this lifeform ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message