misc/libfreetype/version.sed
author nemo
Sat, 17 Mar 2012 16:14:08 -0400
changeset 6791 6907194f2c57
parent 5172 88f2e05288ba
permissions -rw-r--r--
I imagine this should use the game window width, but I'll let someone else figure it out. I'm just sick of frames being half-visible in navigation.

#! /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