misc/libfreetype/version.sed
author nemo
Thu, 09 May 2013 23:21:06 -0400
changeset 8972 f01b836d702e
parent 5172 88f2e05288ba
permissions -rw-r--r--
I was using this to test firepunching likely duds, but most of the time that would probably just make him bazooka them

#! /usr/bin/sed -nf

s/^#define  *FREETYPE_MAJOR  *\([^ ][^ ]*\).*$/freetype_major="\1" ;/p
s/^#define  *FREETYPE_MINOR  *\([^ ][^ ]*\).*$/freetype_minor=".\1" ;/p
s/^#define  *FREETYPE_PATCH  *\([^ ][^ ]*\).*$/freetype_patch=".\1" ;/p