misc/libfreetype/version.sed
author unc0rr
Fri, 23 Nov 2012 13:08:50 +0400
changeset 8107 ee21b816394f
parent 5172 88f2e05288ba
permissions -rw-r--r--
Bring ansistrings back

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