1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/print/html2ps-letter/scripts/pre-configure
Dirk Froemberg 5c06167de9 - make port non-interactive.
- support a4 and letter papersizes after a repository copy from
  html2ps to html2ps-a4 and html2ps-letter.

- use ${PERL} for substituting not ${PERL5}.

Requested by:	Andreas Klemm <andreas@FreeBSD.org> (mantainer)
1999-09-10 08:27:35 +00:00

10 lines
290 B
Bash

#! /bin/sh
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/install
perl -pi -e "s=!!PERL5!!=$PERL=" ${WRKSRC}/install
perl -pi -e "s=!!PAPERSIZE!!=$PAPERSIZE=" ${WRKSRC}/install
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/html2ps
perl -pi -e "s=!!PERL5!!=$PERL=" ${WRKSRC}/html2ps
exit 0