Text this: A numerical approach for a category of piecewise fractional variational problems depending on an indefinite integral