aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/html2ps-a4/Makefile3
-rw-r--r--print/html2ps-letter/Makefile3
-rw-r--r--print/html2ps-letter/scripts/pre-configure4
3 files changed, 6 insertions, 4 deletions
diff --git a/print/html2ps-a4/Makefile b/print/html2ps-a4/Makefile
index bbe1f5e29a5a..e74815e8aa53 100644
--- a/print/html2ps-a4/Makefile
+++ b/print/html2ps-a4/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/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