Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 11:05:36 -0500
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Marco van de Voort <marcov@stack.nl>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: %%PORTVERSION%%
Message-ID:  <20040110160535.GA57459@toxic.magnesium.net>
In-Reply-To: <20040110160215.35B5692@toad.stack.nl>
References:  <20040110160215.35B5692@toad.stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (01.10.2004 @ 1102 PST): Marco van de Voort said, in 0.8K: <<
> 
> Ok, shorter version then :)
> 
> I made a port (lang/fpc-devel), which installs file, but when deinstalling I get a lot of
> 
> pkg_delete: file '/fpc/porttest/lib/fpc/%%PORTVERSION%%/msg/errord.msg' doesn't really exist
> 
> It seems that %%PORTVERSION%% isn't expanded as it should. What could I be doing wrong?
> 
> The old port (lang/fpc) also does have %%PORTVERSION%% in pkg-plist, so it should be possible
> 
> Makefile contains:
> 
> PORTVERSION=    1.9.2
> 
> and I made sure that the makefiles do indeed end up in
> /fpc/porttest/lib/fpc/1.9.2/msg/errord.msg 
> 
> The whole (68 line) Makefile is at http://www.stack.nl/~marcov/fpcdevelport.tar.gz
>> end of "%%PORTVERSION%%" from Marco van de Voort <<

Add

PLIST_SUB+=	PORTVERSION="${PORTVERSION}"

# Adam


--
Adam Weinberger
adam@vectors.cx // adamw@FreeBSD.org // adamw@magnesium.net
http://www.vectors.cx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040110160535.GA57459>