misc/libfreetype/version.sed
author belphegorr <szabibibi@gmail.com>
Sun, 19 Aug 2012 17:11:38 +0300
changeset 7496 06d8423ddd53
parent 5172 88f2e05288ba
permissions -rw-r--r--
Removed debug code.

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