misc/libfreetype/version.sed
author nemo
Fri, 29 Mar 2013 08:10:44 -0400
changeset 8814 01e13871f578
parent 5172 88f2e05288ba
permissions -rw-r--r--
*sigh* this shouldn'tve been removed in first place.

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