misc/libfreetype/version.sed
author belphegorr <szabibibi@gmail.com>
Mon, 23 Jul 2012 19:17:04 +0300
changeset 7413 dbf6e803d5bc
parent 5172 88f2e05288ba
permissions -rw-r--r--
Finished mission 6: Dragon's lair Modified uCommandHandlers (DrawGear function), as the last merge was causing crashes when hogs were hidden.

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