Problem with genplist replacing PORTVERSION

Olli Hauer ohauer at
Tue Mar 6 20:46:03 UTC 2012

On 2012-03-06 21:30, Helmut Schneider wrote:
> Hi,
> To create a new version of a port (let's say typo3) I copy typo3 to
> Then I run
> sudo make clean && sudo port fetch
> sudo rm -r /tmp/typo3*
> sudo genplist clean; sudo genplist create /tmp/
> As a result on my 8.2 machine $PORTVERSION in pkg-plist is replaced
> with %%PORTVERSION%% as defined in the Makefile:
> %%WWWDIR%%_src-%%PORTVERSION%%/ChangeLog
> If I do so on my new 9.0 machine, it does not:
> %%WWWDIR%%_src-4.6.4/ChangeLog
> Why? What did I miss?

genplist does not replace by default PORTVERSION (not defined in the genplist code)
Maybe you have a custom script which looks like

cat ~/.genplist/typo3


sed -i '' "|${PV}|%%PORTVERSION%%|g" $1

More information about the freebsd-ports mailing list