summaryrefslogtreecommitdiff
path: root/print/html2ps-letter
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>1998-11-22 22:45:16 +0000
committerSADA Kenji <sada@FreeBSD.org>1998-11-22 22:45:16 +0000
commitd4c621601b8c3261b53a37c4dbc0d146ed1c1508 (patch)
treea293a8c4cf68470c671abfef2ba3b4b2681d0cee /print/html2ps-letter
parentActivate man2html (diff)
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.
Notes
Notes: svn path=/head/; revision=14780
Diffstat (limited to 'print/html2ps-letter')
-rw-r--r--print/html2ps-letter/Makefile3
-rw-r--r--print/html2ps-letter/scripts/pre-configure4
2 files changed, 4 insertions, 3 deletions
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