From d4c621601b8c3261b53a37c4dbc0d146ed1c1508 Mon Sep 17 00:00:00 2001 From: SADA Kenji Date: Sun, 22 Nov 1998 22:45:16 +0000 Subject: Make port's Makefile to pass $PERL5 to the scripts/pre-configure, that installed `html2ps' script would execute true path of Perl5, even on the FreeBSD-CUREENT system. --- print/html2ps-letter/Makefile | 3 ++- print/html2ps-letter/scripts/pre-configure | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'print/html2ps-letter') diff --git a/print/html2ps-letter/Makefile b/print/html2ps-letter/Makefile index bbe1f5e29a5a..e74815e8aa53 100644 --- a/print/html2ps-letter/Makefile +++ b/print/html2ps-letter/Makefile @@ -3,7 +3,7 @@ # Date created: Sat Nov 22 12:54:50 CET 1997 # Whom: andreas # -# $Id: Makefile,v 1.3 1998/09/15 21:31:51 asami Exp $ +# $Id: Makefile,v 1.4 1998/10/20 01:45:48 steve Exp $ # DISTNAME= html2ps-1.0b1 @@ -28,6 +28,7 @@ IS_INTERACTIVE= YES MAN1= html2ps.1 MAN5= html2psrc.5 +SCRIPTS_ENV+= PERL5=${PERL5} do-install: @cd ${WRKSRC}; ${PERL5} install diff --git a/print/html2ps-letter/scripts/pre-configure b/print/html2ps-letter/scripts/pre-configure index 8bf76ba2a7e0..d4c30205fbec 100644 --- a/print/html2ps-letter/scripts/pre-configure +++ b/print/html2ps-letter/scripts/pre-configure @@ -1,7 +1,7 @@ #! /bin/sh perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/install -perl -pi -e "s=!!PERL5!!=/usr/local/bin/perl=" ${WRKSRC}/install -perl -pi -e "s=!!PERL5!!=/usr/local/bin/perl=" ${WRKSRC}/html2ps +perl -pi -e "s=!!PERL5!!=$PERL5=" ${WRKSRC}/install +perl -pi -e "s=!!PERL5!!=$PERL5=" ${WRKSRC}/html2ps exit 0 -- cgit v1.2.3