Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2004 17:40:06 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Mark Foster <mark@foster.cc>
Cc:        ports@freebsd.org
Subject:   Re: help with new port (analog-devel)
Message-ID:  <C418DF68-C5F4-11D8-9250-00039312D914@fillmore-labs.com>
In-Reply-To: <40DAEF3D.3030906@foster.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Foster wrote:

> [...]
> Also, I have some hesitation about the following Makefile variables.
> PORTNAME=       analog <-- Should this be analog-devel?

You could use

PKGNAMESUFFIX?=	-devel

> PORTVERSION=    5.91 <-- Should this be 5.91beta1?
> DISTNAME=       ${PORTNAME}-${PORTVERSION}beta1

Try

PORTVERSION=	${DISTVERSION:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-
z])/\1.\2/g}
DISTNAME=		${PORTNAME}-${DISTVERSION}

DISTVERSION=	5.91beta1

(See PR 67171 for a more complete expression)

> CONFLICTS=      analog

This won't work.

CONFLICTS=	analog-5.[0-8]*

will do the trick.

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C418DF68-C5F4-11D8-9250-00039312D914>