mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-17 00:00:40 +00:00
5c06167de9
- 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)
10 lines
290 B
Bash
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
|