help with new port (analog-devel)
Oliver Eikemeier
eikemeier at fillmore-labs.com
Thu Jun 24 08:41:21 PDT 2004
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
More information about the freebsd-ports
mailing list