#!/bin/sh if [ "$2" != "PRE-INSTALL" ]; then exit 0 fi echo %%VERSION%% > /var/db/port.mkversion