Just use multiple lines.

```rb
inreplace 'Makefile' do |s|
  ...
end if build.with? 'djvu'
```