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