1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Use PERL5 variable

This commit is contained in:
Andrey A. Chernov 1998-09-16 11:45:01 +00:00
parent 289b80fb84
commit 4055532e85
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13169
2 changed files with 7 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# Date created: 13 Sep 1997
# Whom: ache@FreeBSD.org
#
# $Id: Makefile,v 1.17 1998/07/31 14:46:18 ache Exp $
# $Id: Makefile,v 1.18 1998/09/15 17:23:26 ache Exp $
#
DISTNAME= adcomplain-4.42
@ -21,6 +21,11 @@ EXTRACT_BEFORE_ARGS= <
NO_WRKSUBDIR= YES
NO_BUILD= YES
post-patch:
cd ${WRKSRC}; \
cp adcomplain.pl adcomplain.pl.old; \
sed 's=%PERL5%=${PERL5}=' < adcomplain.pl.old > adcomplain.pl
do-install:
cd ${WRKSRC}; \
${INSTALL_SCRIPT} adcomplain.pl ${PREFIX}/bin/adcomplain

View File

@ -3,7 +3,7 @@
***************
*** 1,3 ****
--- 1,4 ----
+ #!/usr/local/bin/perl
+ #!%PERL5%
#! /bin/sh -- # -*- perl -*-
# first line invokes sh. Some systems may need to refer to perl directly, i.e.: