misc/libfreetype/version.sed
author koda
Sun, 11 Nov 2012 19:11:47 +0100
branchwebgl
changeset 8035 68ec3138c16d
parent 5172 88f2e05288ba
permissions -rw-r--r--
comments and runtime list of files to convert and compile

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