misc/libfreetype/version.sed
author mikade <redgrinner@gmail.com>
Thu, 30 May 2013 19:34:39 +0900
changeset 9083 6d2efdca5da2
parent 5172 88f2e05288ba
permissions -rw-r--r--
Add how to play description to Mutant Fix issue #277

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