summaryrefslogtreecommitdiff
path: root/uselessPorts/ffmpeg/lastVersion.sh
blob: 3601df12d3352cc4eb62ef0fb5445b29ec63baa0 (plain)
1
2
3
4
5
6
#!/bin/bash

grep '^version=' /usr/ports/*/ffmpeg/Pkgfile | \
  cut -d= -f2 | \
  sort -V | \
  tail -n1