misc/libfreetype/version.sed
author koda
Sun, 04 Nov 2012 03:04:20 +0100
branchwebgl
changeset 7961 620331af6b9a
parent 5172 88f2e05288ba
permissions -rw-r--r--
pas2c can search for inc files in alternate folders (needed for out of source builds)

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