misc/libfreetype/version.sed
author koda
Sat, 16 Mar 2013 23:29:50 +0100
changeset 8734 ecb0a97100cf
parent 5172 88f2e05288ba
permissions -rw-r--r--
do not hardcode CMAKE_INSTALL_PREFIX for windows, but rather put it in the script, so that custom build setups still work

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