misc/libfreetype/version.sed
author koda
Thu, 07 Mar 2013 10:14:12 +0100
changeset 8686 d303da4568b7
parent 5172 88f2e05288ba
permissions -rw-r--r--
introduce find_package_or_fail/disable to group together similar cmake 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