summaryrefslogtreecommitdiffstats
path: root/mail/adcomplain
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-09-16 11:45:01 +0000
committerache <ache@FreeBSD.org>1998-09-16 11:45:01 +0000
commitf9153cd3d867ca00b71324fdb180fdd2fc3d6ec6 (patch)
tree7533d5bdd008473f25f2320ead39dba0bab415d9 /mail/adcomplain
parent1a03e635eb333796cf4841f964aa0f37b5496946 (diff)
downloadFreeBSD-ports-f9153cd3d867ca00b71324fdb180fdd2fc3d6ec6.zip
FreeBSD-ports-f9153cd3d867ca00b71324fdb180fdd2fc3d6ec6.tar.gz
Use PERL5 variable
Diffstat (limited to 'mail/adcomplain')
-rw-r--r--mail/adcomplain/Makefile7
-rw-r--r--mail/adcomplain/files/patch-aa2
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.:
OpenPOWER on IntegriCloud