Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 2000 07:08:59 -0400
From:      "James E. Housley" <jeh@FreeBSD.org>
To:        jamie@jamiesdomain.org.uk
Cc:        ports@FreeBSD.org
Subject:   Re: Ports query/help
Message-ID:  <39DB0FCB.6421C6B8@FreeBSD.org>
References:  <200010041104.e94B4b410893@atlas.snet.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jamie@jamiesdomain.org.uk>
> #
> # $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 <bsd.port.mk>
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39DB0FCB.6421C6B8>