forked from Lainports/freebsd-ports
- 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)
9 lines
290 B
Bash
9 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
|