diff options
author | ache <ache@FreeBSD.org> | 1998-09-16 11:45:01 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-09-16 11:45:01 +0000 |
commit | f9153cd3d867ca00b71324fdb180fdd2fc3d6ec6 (patch) | |
tree | 7533d5bdd008473f25f2320ead39dba0bab415d9 /mail/adcomplain | |
parent | 1a03e635eb333796cf4841f964aa0f37b5496946 (diff) | |
download | FreeBSD-ports-f9153cd3d867ca00b71324fdb180fdd2fc3d6ec6.zip FreeBSD-ports-f9153cd3d867ca00b71324fdb180fdd2fc3d6ec6.tar.gz |
Use PERL5 variable
Diffstat (limited to 'mail/adcomplain')
-rw-r--r-- | mail/adcomplain/Makefile | 7 | ||||
-rw-r--r-- | mail/adcomplain/files/patch-aa | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/adcomplain/Makefile b/mail/adcomplain/Makefile index 8d2dba5..83b5e01 100644 --- a/mail/adcomplain/Makefile +++ b/mail/adcomplain/Makefile @@ -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 diff --git a/mail/adcomplain/files/patch-aa b/mail/adcomplain/files/patch-aa index 9fe4846..e2d9fee 100644 --- a/mail/adcomplain/files/patch-aa +++ b/mail/adcomplain/files/patch-aa @@ -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.: |