misc/libfreetype/version.sed
author vittorio.giovara@gmail.com
Tue, 26 Apr 2011 13:13:07 +0200
changeset 5178 f3cc6119f1fe
parent 5172 88f2e05288ba
permissions -rw-r--r--
ooops

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