1 2 3 4 5 6
#!/bin/bash grep '^version=' /usr/ports/*/ffmpeg/Pkgfile | \ cut -d= -f2 | \ sort -V | \ tail -n1