%%PORTVERSION%%

Adam Weinberger adamw at FreeBSD.org
Sat Jan 10 08:05:37 PST 2004


>> (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 at vectors.cx // adamw at FreeBSD.org // adamw at magnesium.net
http://www.vectors.cx


More information about the freebsd-ports mailing list