#!/bin/sh # $FreeBSD: head/cad/cascade-compiler/files/flex 522115 2020-01-05 08:10:27Z yuri $ # call the real flex flex.real "$@" # update the FlexLexer.h include that the above command must have created find ${FREEBSD_WRKSRC} -name "*.cc" | xargs sed -i '' 's|#include |#include <${FREEBSD_LOCALBASE}/include/flex/FlexLexer.h>|'