misc/libfreetype/version.sed
author koda
Wed, 02 Nov 2011 19:07:37 +0100
changeset 6263 ec41637ceb64
parent 5172 88f2e05288ba
permissions -rw-r--r--
don't keep track of the savepath and of engineprotocol objects

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