misc/libfreetype/version.sed
author sheepluva
Mon, 20 Jun 2011 01:28:21 +0200
changeset 5259 926958e3e87b
parent 5172 88f2e05288ba
permissions -rw-r--r--
display player count below and with label, just because it's funny to mess with unC0Rr's code and make him cry :P

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