diff options
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.: |